From 33e7ec352c18975f0c0dc8db6f3b4ef6c4b395f3 Mon Sep 17 00:00:00 2001 From: Martin Tournoij Date: Sat, 2 Sep 2023 17:24:47 +0100 Subject: [PATCH] Update generated files --- tests/files-toml-1.0.0 | 3 ++- tests/files-toml-1.1.0 | 3 ++- tests/invalid/float/float.multi | 5 ++++- tests/invalid/float/trailing-us-exp-1.toml | 3 +-- tests/invalid/float/trailing-us-exp-2.toml | 3 +-- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/tests/files-toml-1.0.0 b/tests/files-toml-1.0.0 index f849e8f..0bbc854 100644 --- a/tests/files-toml-1.0.0 +++ b/tests/files-toml-1.0.0 @@ -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 diff --git a/tests/files-toml-1.1.0 b/tests/files-toml-1.1.0 index a504011..35d905d 100644 --- a/tests/files-toml-1.1.0 +++ b/tests/files-toml-1.1.0 @@ -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 diff --git a/tests/invalid/float/float.multi b/tests/invalid/float/float.multi index 0708195..c686d0a 100644 --- a/tests/invalid/float/float.multi +++ b/tests/invalid/float/float.multi @@ -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 @@ -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 diff --git a/tests/invalid/float/trailing-us-exp-1.toml b/tests/invalid/float/trailing-us-exp-1.toml index 115a8ba..7d4d3cc 100644 --- a/tests/invalid/float/trailing-us-exp-1.toml +++ b/tests/invalid/float/trailing-us-exp-1.toml @@ -1,2 +1 @@ -# trailing underscore in integer part is not allowed -trailing-us-exp = 1_e2 +trailing-us-exp-1 = 1_e2 diff --git a/tests/invalid/float/trailing-us-exp-2.toml b/tests/invalid/float/trailing-us-exp-2.toml index a835f0f..f869025 100644 --- a/tests/invalid/float/trailing-us-exp-2.toml +++ b/tests/invalid/float/trailing-us-exp-2.toml @@ -1,2 +1 @@ -# trailing underscore in float part is not allowed -trailing-us-exp2 = 1.2_e2 +trailing-us-exp-2 = 1.2_e2