Skip to content

Commit d364273

Browse files
committed
[tests] fix parsing test case for devel
Now the ~d:nimPreviewFloatRoundtrip~ is the default, see compiler commit: aa605da92a44784501ac90f51e91d2c54d554031
1 parent 7a0fa47 commit d364273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testParse.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ suite "`parseNumber` tests":
136136

137137
# start after first separator
138138
for i in 123456789 .. 123456789 + 50:
139-
when defined(nimPreviewFloatRoundtrip):
139+
when (NimMajor, NimMinor) >= (2, 2):
140140
checkFloat($toFloat(i) & "," & $toFloat(i), toFloat(i), start = 19)
141141
else:
142142
checkFloat($toFloat(i) & "," & $toFloat(i), toFloat(i), start = 18)

0 commit comments

Comments
 (0)