summaryrefslogtreecommitdiff
path: root/toml/testdata/float.toml
diff options
context:
space:
mode:
authorVincent LE GOFF <g_n_s@hotmail.fr>2019-03-29 15:51:23 +0100
committerRyan Dahl <ry@tinyclouds.org>2019-03-29 10:51:23 -0400
commit5518b008b8df51c861e9e6040236ebe7ec5f854c (patch)
tree28df1e0fedcf7951efc15b837a8e570cd8888de7 /toml/testdata/float.toml
parent13aeee460a62dc6b49de3a7d5d6305ea51ab5e4c (diff)
toml: fix parsing comments (denoland/deno_std#311)
Original: https://github.com/denoland/deno_std/commit/a48fdd6a298e48a60dd8d56f2b459294892abfc3
Diffstat (limited to 'toml/testdata/float.toml')
-rw-r--r--toml/testdata/float.toml16
1 files changed, 8 insertions, 8 deletions
diff --git a/toml/testdata/float.toml b/toml/testdata/float.toml
index 92f0b6d17..6a384179c 100644
--- a/toml/testdata/float.toml
+++ b/toml/testdata/float.toml
@@ -1,17 +1,17 @@
[float]
# fractional
-flt1 = +1.0
-flt2 = 3.1415
-flt3 = -0.01
+flt1 = +1.0 # Comment
+flt2 = 3.1415 # Comment
+flt3 = -0.01 # Comment
# exponent
-flt4 = 5e+22
-flt5 = 1e6
-flt6 = -2E-2
+flt4 = 5e+22 # Comment
+flt5 = 1e6 # Comment
+flt6 = -2E-2 # Comment
# both
-flt7 = 6.626e-34
-flt8 = 224_617.445_991_228
+flt7 = 6.626e-34 # Comment
+flt8 = 224_617.445_991_228 # Comment
# infinity
sf1 = inf # positive infinity
sf2 = +inf # positive infinity