Skip to content

Commit e9d276e

Browse files
committed
tests/float/lexer: new test
Since automatically formatting tests with black, we have lost one line of code coverage. This adds an explicit test to ensure we are testing the case that is no longer covered implicitly.
1 parent 7f714be commit e9d276e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/float/lexer.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# since black code formatter does not allow leading decimal point with nothing
2+
# before it, we need to test it explicitly
3+
4+
# fmt: off
5+
print(.1)
6+
# fmt: on

0 commit comments

Comments
 (0)