Skip to content

Commit

Permalink
Merge pull request #17 from metamorph-scheme/RG/fix-ureal-test
Browse files Browse the repository at this point in the history
fix incorrect rational parsing test
  • Loading branch information
Torpheus authored Mar 19, 2021
2 parents f1fe8b3 + 7cacaed commit 665a798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Lexer/LexerSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ spec = describe "Lexer.scan" $ do

describe "ureal" $ do
it "can classify ureal" $ do
scan "4/2 " `shouldBe` [ Number . Inexact $ Rational 4 2 ]
scan "4/2 " `shouldBe` [ Number . Exact $ Rational 4 2 ]

describe "real" $ do
it "can classify real" $ do
Expand Down

0 comments on commit 665a798

Please sign in to comment.