diff options
Diffstat (limited to 'toml/testdata')
| -rw-r--r-- | toml/testdata/boolean.toml | 2 | ||||
| -rw-r--r-- | toml/testdata/cargo.toml | 2 | ||||
| -rw-r--r-- | toml/testdata/datetime.toml | 14 | ||||
| -rw-r--r-- | toml/testdata/float.toml | 16 | ||||
| -rw-r--r-- | toml/testdata/simple.toml | 3 |
5 files changed, 19 insertions, 18 deletions
diff --git a/toml/testdata/boolean.toml b/toml/testdata/boolean.toml index 92264888a..242d29c96 100644 --- a/toml/testdata/boolean.toml +++ b/toml/testdata/boolean.toml @@ -1,3 +1,3 @@ -[boolean] +[boolean] # i hate comments bool1 = true bool2 = false
\ No newline at end of file diff --git a/toml/testdata/cargo.toml b/toml/testdata/cargo.toml index 5402d10a4..291aa7db6 100644 --- a/toml/testdata/cargo.toml +++ b/toml/testdata/cargo.toml @@ -53,4 +53,4 @@ tokio-threadpool = "0.1.11" url = "1.7.2" [target.'cfg(windows)'.dependencies] -winapi = "0.3.6"
\ No newline at end of file +winapi = "0.3.6" diff --git a/toml/testdata/datetime.toml b/toml/testdata/datetime.toml index b21924793..62377a4ba 100644 --- a/toml/testdata/datetime.toml +++ b/toml/testdata/datetime.toml @@ -1,8 +1,8 @@ [datetime] -odt1 = 1979-05-27T07:32:00Z -odt2 = 1979-05-27T00:32:00-07:00 -odt3 = 1979-05-27T00:32:00.999999-07:00 -odt4 = 1979-05-27 07:32:00Z -ld1 = 1979-05-27 -lt1 = 07:32:00 -lt2 = 00:32:00.999999 +odt1 = 1979-05-27T07:32:00Z # Comment +odt2 = 1979-05-27T00:32:00-07:00 # Comment +odt3 = 1979-05-27T00:32:00.999999-07:00 # Comment +odt4 = 1979-05-27 07:32:00Z # Comment +ld1 = 1979-05-27 # Comment +lt1 = 07:32:00 # Comment +lt2 = 00:32:00.999999 # Comment 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 diff --git a/toml/testdata/simple.toml b/toml/testdata/simple.toml index aac44714e..f3f6c1036 100644 --- a/toml/testdata/simple.toml +++ b/toml/testdata/simple.toml @@ -1,4 +1,5 @@ deno = "is" not = "[node]" regex = '<\i\c*\s*>' -NANI = '何?!'
\ No newline at end of file +NANI = '何?!' +comment = "Comment inside # the comment" # Comment |
