Skip to content

Commit

Permalink
Add another test
Browse files Browse the repository at this point in the history
  • Loading branch information
kubukoz committed Oct 3, 2023
1 parent ce5eaa5 commit 07bf73b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,14 @@ object CompilationTests extends SimpleIOSuite with Checkers {
)
}

pureTest("int with exponential syntax - in range, but not an integer") {
assert(
compile {
WithSource.liftId(IntLiteral("10.1e0").mapK(WithSource.liftId))
}(Schema.int).isLeft
)
}

pureTest("short") {
assertNoDiff(
compile {
Expand Down

0 comments on commit 07bf73b

Please sign in to comment.