Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
ichiban committed May 15, 2022
1 parent 07ea812 commit 42bf1e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engine/exception_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,7 @@ func TestEvaluationError(t *testing.T) {
},
}, EvaluationError(ExceptionalValueIntOverflow, nil))
}

func TestExceptionalValue_Error(t *testing.T) {
assert.Equal(t, "int_overflow", ExceptionalValueIntOverflow.Error())
}

0 comments on commit 42bf1e7

Please sign in to comment.