Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit 2c9d437

Browse files
jasontattonfacebook-github-bot
authored andcommitted
add test for very long floats
Summary: Very long floats pass ok (no work to be done) Reviewed By: stroxler Differential Revision: D42403516 Privacy Context Container: L1152058 fbshipit-source-id: 8d2a795953ca616210316db7548845e63ec1be2d
1 parent 7608a95 commit 2c9d437

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_resources/unit_tests/ast_literals.pytest

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,3 +235,7 @@ timestamp = 9223372036854775810
235235

236236
## complex numbers
237237
complex = 0.0302988j
238+
239+
## very long floats
240+
timestamp = 0.33333333333333334444444444444444356456456456456456457457456456456456456456
241+
timestamp = 123123123.94856098745609847560987450968734986745096874509867405968740598674509867405968456

0 commit comments

Comments
 (0)