Merge pull request #298 from ehuss/missing-tests
Add some missing tests, and sort some entries.
This commit is contained in:
commit
b9fbd5b6f7
|
@ -26,10 +26,12 @@ test!(datetime_malformed_no_t,
|
||||||
include_str!("invalid/datetime-malformed-no-t.toml"));
|
include_str!("invalid/datetime-malformed-no-t.toml"));
|
||||||
test!(datetime_malformed_with_milli,
|
test!(datetime_malformed_with_milli,
|
||||||
include_str!("invalid/datetime-malformed-with-milli.toml"));
|
include_str!("invalid/datetime-malformed-with-milli.toml"));
|
||||||
test!(duplicate_keys,
|
|
||||||
include_str!("invalid/duplicate-keys.toml"));
|
|
||||||
test!(duplicate_key_table,
|
test!(duplicate_key_table,
|
||||||
include_str!("invalid/duplicate-key-table.toml"));
|
include_str!("invalid/duplicate-key-table.toml"));
|
||||||
|
test!(duplicate_keys,
|
||||||
|
include_str!("invalid/duplicate-keys.toml"));
|
||||||
|
test!(duplicate_table,
|
||||||
|
include_str!("invalid/duplicate-table.toml"));
|
||||||
test!(duplicate_tables,
|
test!(duplicate_tables,
|
||||||
include_str!("invalid/duplicate-tables.toml"));
|
include_str!("invalid/duplicate-tables.toml"));
|
||||||
test!(empty_implicit_table,
|
test!(empty_implicit_table,
|
||||||
|
@ -66,6 +68,8 @@ test!(string_bad_byte_escape,
|
||||||
include_str!("invalid/string-bad-byte-escape.toml"));
|
include_str!("invalid/string-bad-byte-escape.toml"));
|
||||||
test!(string_bad_escape,
|
test!(string_bad_escape,
|
||||||
include_str!("invalid/string-bad-escape.toml"));
|
include_str!("invalid/string-bad-escape.toml"));
|
||||||
|
test!(string_bad_line_ending_escape,
|
||||||
|
include_str!("invalid/string-bad-line-ending-escape.toml"));
|
||||||
test!(string_byte_escapes,
|
test!(string_byte_escapes,
|
||||||
include_str!("invalid/string-byte-escapes.toml"));
|
include_str!("invalid/string-byte-escapes.toml"));
|
||||||
test!(string_no_close,
|
test!(string_no_close,
|
||||||
|
@ -98,5 +102,3 @@ test!(text_before_array_separator,
|
||||||
include_str!("invalid/text-before-array-separator.toml"));
|
include_str!("invalid/text-before-array-separator.toml"));
|
||||||
test!(text_in_array,
|
test!(text_in_array,
|
||||||
include_str!("invalid/text-in-array.toml"));
|
include_str!("invalid/text-in-array.toml"));
|
||||||
test!(duplicate_table,
|
|
||||||
include_str!("invalid/duplicate-table.toml"));
|
|
||||||
|
|
|
@ -129,6 +129,9 @@ test!(empty,
|
||||||
test!(bool,
|
test!(bool,
|
||||||
include_str!("valid/bool.toml"),
|
include_str!("valid/bool.toml"),
|
||||||
include_str!("valid/bool.json"));
|
include_str!("valid/bool.json"));
|
||||||
|
test!(comments_everywhere,
|
||||||
|
include_str!("valid/comments-everywhere.toml"),
|
||||||
|
include_str!("valid/comments-everywhere.json"));
|
||||||
test!(datetime,
|
test!(datetime,
|
||||||
include_str!("valid/datetime.toml"),
|
include_str!("valid/datetime.toml"),
|
||||||
include_str!("valid/datetime.json"));
|
include_str!("valid/datetime.json"));
|
||||||
|
|
Loading…
Reference in a new issue