Skip to content

Commit

Permalink
[tests] fix parsing test case for devel
Browse files Browse the repository at this point in the history
Now the ~d:nimPreviewFloatRoundtrip~ is the default, see compiler
commit:
aa605da92a44784501ac90f51e91d2c54d554031
  • Loading branch information
Vindaar committed Oct 13, 2024
1 parent 06ba9f0 commit 10ee4d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testParse.nim
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ suite "`parseNumber` tests":

# start after first separator
for i in 123456789 .. 123456789 + 50:
when defined(nimPreviewFloatRoundtrip):
when (NimMajor, NimMinor) >= (2, 2):
checkFloat($toFloat(i) & "," & $toFloat(i), toFloat(i), start = 19)
else:
checkFloat($toFloat(i) & "," & $toFloat(i), toFloat(i), start = 18)
Expand Down

0 comments on commit 10ee4d4

Please sign in to comment.