Skip to content

Commit

Permalink
Update generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
arp242 committed Sep 2, 2023
1 parent 55be821 commit 33e7ec3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion tests/files-toml-1.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ invalid/float/trailing-point.toml
invalid/float/trailing-point-min.toml
invalid/float/trailing-point-plus.toml
invalid/float/trailing-us.toml
invalid/float/trailing-us-exp.toml
invalid/float/trailing-us-exp-1.toml
invalid/float/trailing-us-exp-2.toml
invalid/float/us-after-point.toml
invalid/float/us-before-point.toml
invalid/inline-table/add.toml
Expand Down
3 changes: 2 additions & 1 deletion tests/files-toml-1.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ invalid/float/trailing-point.toml
invalid/float/trailing-point-min.toml
invalid/float/trailing-point-plus.toml
invalid/float/trailing-us.toml
invalid/float/trailing-us-exp.toml
invalid/float/trailing-us-exp-1.toml
invalid/float/trailing-us-exp-2.toml
invalid/float/us-after-point.toml
invalid/float/us-before-point.toml
invalid/inline-table/add.toml
Expand Down
5 changes: 4 additions & 1 deletion tests/invalid/float/float.multi
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ exp-double-e-1 = 1ee2
exp-double-e-2 = 1e2e3

exp-leading-us = 1e_23
exp-trailing-us = 1e_23_
exp-trailing-us = 1e23_
exp-double-us = 1e__23

inf-incomplete-1 = in
Expand All @@ -38,3 +38,6 @@ nan-incomplete-3 = -na

nan_underscore = na_n
inf_underscore = in_f

trailing-us-exp-1 = 1_e2
trailing-us-exp-2 = 1.2_e2
3 changes: 1 addition & 2 deletions tests/invalid/float/trailing-us-exp-1.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# trailing underscore in integer part is not allowed
trailing-us-exp = 1_e2
trailing-us-exp-1 = 1_e2
3 changes: 1 addition & 2 deletions tests/invalid/float/trailing-us-exp-2.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# trailing underscore in float part is not allowed
trailing-us-exp2 = 1.2_e2
trailing-us-exp-2 = 1.2_e2

0 comments on commit 33e7ec3

Please sign in to comment.