Skip to content

Commit

Permalink
Add tests to exercise parser tokens for special Double values (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
f-f authored Feb 24, 2019
1 parent 2f38c44 commit ca7b876
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion tests/normalization/success/simple/doubleShowA.dhall
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
{ example0 = Double/show -0.42, example1 = Double/show 13.37 }
{ example0 = Double/show -0.42
, example1 = Double/show 13.37
, example2 = Double/show NaN
, example3 = Double/show Infinity
, example4 = Double/show -Infinity
}
7 changes: 6 additions & 1 deletion tests/normalization/success/simple/doubleShowB.dhall
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
{ example0 = "-0.42", example1 = "13.37" }
{ example0 = "-0.42"
, example1 = "13.37"
, example2 = "NaN"
, example3 = "Infinity"
, example4 = "-Infinity"
}

0 comments on commit ca7b876

Please sign in to comment.