mirror of
https://github.com/plexusorg/toml4j.git
synced 2024-12-28 19:24:15 +00:00
Updated tests from BurntSushi/toml-test
This commit is contained in:
parent
1390487d3f
commit
28ef345bba
5 changed files with 8 additions and 9 deletions
|
@ -1 +1 @@
|
|||
ints-and-floats = [1, 1.0]
|
||||
ints-and-floats = [1, 1.1]
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
{"type": "string", "value": "b"}
|
||||
]},
|
||||
{"type": "array", "value": [
|
||||
{"type": "float", "value": "1.0"},
|
||||
{"type": "float", "value": "2.0"}
|
||||
{"type": "float", "value": "1.1"},
|
||||
{"type": "float", "value": "2.1"}
|
||||
]}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
mixed = [[1, 2], ["a", "b"], [1.0, 2.0]]
|
||||
mixed = [[1, 2], ["a", "b"], [1.1, 2.1]]
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
"floats": {
|
||||
"type": "array",
|
||||
"value": [
|
||||
{"type": "float", "value": "1.0"},
|
||||
{"type": "float", "value": "2.0"},
|
||||
{"type": "float", "value": "3.0"}
|
||||
{"type": "float", "value": "1.1"},
|
||||
{"type": "float", "value": "2.1"},
|
||||
{"type": "float", "value": "3.1"}
|
||||
]
|
||||
},
|
||||
"strings": {
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
ints = [1, 2, 3]
|
||||
floats = [1.0, 2.0, 3.0]
|
||||
floats = [1.1, 2.1, 3.1]
|
||||
strings = ["a", "b", "c"]
|
||||
dates = [
|
||||
1987-07-05T17:45:00Z,
|
||||
1979-05-27T07:32:00Z,
|
||||
2006-06-01T11:00:00Z,
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue