aboutsummaryrefslogtreecommitdiff
path: root/tests/invalid
diff options
context:
space:
mode:
Diffstat (limited to 'tests/invalid')
-rw-r--r--tests/invalid/array-mixed-types-arrays-and-ints.toml1
-rw-r--r--tests/invalid/array-mixed-types-ints-and-floats.toml1
-rw-r--r--tests/invalid/array-mixed-types-strings-and-ints.toml1
-rw-r--r--tests/invalid/datetime-malformed-no-leads.toml1
-rw-r--r--tests/invalid/datetime-malformed-no-secs.toml1
-rw-r--r--tests/invalid/datetime-malformed-no-t.toml1
-rw-r--r--tests/invalid/datetime-malformed-with-milli.toml1
-rw-r--r--tests/invalid/duplicate-key-table.toml5
-rw-r--r--tests/invalid/duplicate-keys.toml2
-rw-r--r--tests/invalid/duplicate-tables.toml2
-rw-r--r--tests/invalid/empty-implicit-table.toml1
-rw-r--r--tests/invalid/empty-table.toml1
-rw-r--r--tests/invalid/float-no-leading-zero.toml2
-rw-r--r--tests/invalid/float-no-trailing-digits.toml2
-rw-r--r--tests/invalid/key-after-array.toml1
-rw-r--r--tests/invalid/key-after-table.toml1
-rw-r--r--tests/invalid/key-empty.toml1
-rw-r--r--tests/invalid/key-hash.toml1
-rw-r--r--tests/invalid/key-newline.toml2
-rw-r--r--tests/invalid/key-open-bracket.toml1
-rw-r--r--tests/invalid/key-single-open-bracket.toml1
-rw-r--r--tests/invalid/key-space.toml1
-rw-r--r--tests/invalid/key-start-bracket.toml3
-rw-r--r--tests/invalid/key-two-equals.toml1
-rw-r--r--tests/invalid/string-bad-byte-escape.toml1
-rw-r--r--tests/invalid/string-bad-escape.toml1
-rw-r--r--tests/invalid/string-byte-escapes.toml1
-rw-r--r--tests/invalid/string-no-close.toml1
-rw-r--r--tests/invalid/table-array-implicit.toml14
-rw-r--r--tests/invalid/table-array-malformed-bracket.toml2
-rw-r--r--tests/invalid/table-array-malformed-empty.toml2
-rw-r--r--tests/invalid/table-empty.toml1
-rw-r--r--tests/invalid/table-nested-brackets-close.toml2
-rw-r--r--tests/invalid/table-nested-brackets-open.toml2
-rw-r--r--tests/invalid/table-whitespace.toml1
-rw-r--r--tests/invalid/table-with-pound.toml2
-rw-r--r--tests/invalid/text-after-array-entries.toml4
-rw-r--r--tests/invalid/text-after-integer.toml1
-rw-r--r--tests/invalid/text-after-string.toml1
-rw-r--r--tests/invalid/text-after-table.toml1
-rw-r--r--tests/invalid/text-before-array-separator.toml4
-rw-r--r--tests/invalid/text-in-array.toml5
42 files changed, 0 insertions, 81 deletions
diff --git a/tests/invalid/array-mixed-types-arrays-and-ints.toml b/tests/invalid/array-mixed-types-arrays-and-ints.toml
deleted file mode 100644
index 051ec73..0000000
--- a/tests/invalid/array-mixed-types-arrays-and-ints.toml
+++ /dev/null
@@ -1 +0,0 @@
-arrays-and-ints = [1, ["Arrays are not integers."]]
diff --git a/tests/invalid/array-mixed-types-ints-and-floats.toml b/tests/invalid/array-mixed-types-ints-and-floats.toml
deleted file mode 100644
index a5aa9b7..0000000
--- a/tests/invalid/array-mixed-types-ints-and-floats.toml
+++ /dev/null
@@ -1 +0,0 @@
-ints-and-floats = [1, 1.1]
diff --git a/tests/invalid/array-mixed-types-strings-and-ints.toml b/tests/invalid/array-mixed-types-strings-and-ints.toml
deleted file mode 100644
index f348308..0000000
--- a/tests/invalid/array-mixed-types-strings-and-ints.toml
+++ /dev/null
@@ -1 +0,0 @@
-strings-and-ints = ["hi", 42]
diff --git a/tests/invalid/datetime-malformed-no-leads.toml b/tests/invalid/datetime-malformed-no-leads.toml
deleted file mode 100644
index 123f173..0000000
--- a/tests/invalid/datetime-malformed-no-leads.toml
+++ /dev/null
@@ -1 +0,0 @@
-no-leads = 1987-7-05T17:45:00Z
diff --git a/tests/invalid/datetime-malformed-no-secs.toml b/tests/invalid/datetime-malformed-no-secs.toml
deleted file mode 100644
index ba93900..0000000
--- a/tests/invalid/datetime-malformed-no-secs.toml
+++ /dev/null
@@ -1 +0,0 @@
-no-secs = 1987-07-05T17:45Z
diff --git a/tests/invalid/datetime-malformed-no-t.toml b/tests/invalid/datetime-malformed-no-t.toml
deleted file mode 100644
index 617e3c5..0000000
--- a/tests/invalid/datetime-malformed-no-t.toml
+++ /dev/null
@@ -1 +0,0 @@
-no-t = 1987-07-0517:45:00Z
diff --git a/tests/invalid/datetime-malformed-with-milli.toml b/tests/invalid/datetime-malformed-with-milli.toml
deleted file mode 100644
index eef792f..0000000
--- a/tests/invalid/datetime-malformed-with-milli.toml
+++ /dev/null
@@ -1 +0,0 @@
-with-milli = 1987-07-5T17:45:00.12Z
diff --git a/tests/invalid/duplicate-key-table.toml b/tests/invalid/duplicate-key-table.toml
deleted file mode 100644
index cedf05f..0000000
--- a/tests/invalid/duplicate-key-table.toml
+++ /dev/null
@@ -1,5 +0,0 @@
-[fruit]
-type = "apple"
-
-[fruit.type]
-apple = "yes"
diff --git a/tests/invalid/duplicate-keys.toml b/tests/invalid/duplicate-keys.toml
deleted file mode 100644
index 9b5aee0..0000000
--- a/tests/invalid/duplicate-keys.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-dupe = false
-dupe = true
diff --git a/tests/invalid/duplicate-tables.toml b/tests/invalid/duplicate-tables.toml
deleted file mode 100644
index 8ddf49b..0000000
--- a/tests/invalid/duplicate-tables.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-[a]
-[a]
diff --git a/tests/invalid/empty-implicit-table.toml b/tests/invalid/empty-implicit-table.toml
deleted file mode 100644
index 0cc36d0..0000000
--- a/tests/invalid/empty-implicit-table.toml
+++ /dev/null
@@ -1 +0,0 @@
-[naughty..naughty]
diff --git a/tests/invalid/empty-table.toml b/tests/invalid/empty-table.toml
deleted file mode 100644
index fe51488..0000000
--- a/tests/invalid/empty-table.toml
+++ /dev/null
@@ -1 +0,0 @@
-[]
diff --git a/tests/invalid/float-no-leading-zero.toml b/tests/invalid/float-no-leading-zero.toml
deleted file mode 100644
index cab76bf..0000000
--- a/tests/invalid/float-no-leading-zero.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-answer = .12345
-neganswer = -.12345
diff --git a/tests/invalid/float-no-trailing-digits.toml b/tests/invalid/float-no-trailing-digits.toml
deleted file mode 100644
index cbff2d0..0000000
--- a/tests/invalid/float-no-trailing-digits.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-answer = 1.
-neganswer = -1.
diff --git a/tests/invalid/key-after-array.toml b/tests/invalid/key-after-array.toml
deleted file mode 100644
index 5c1a1b0..0000000
--- a/tests/invalid/key-after-array.toml
+++ /dev/null
@@ -1 +0,0 @@
-[[agencies]] owner = "S Cjelli"
diff --git a/tests/invalid/key-after-table.toml b/tests/invalid/key-after-table.toml
deleted file mode 100644
index 4bc8213..0000000
--- a/tests/invalid/key-after-table.toml
+++ /dev/null
@@ -1 +0,0 @@
-[history] guard = "sleeping"
diff --git a/tests/invalid/key-empty.toml b/tests/invalid/key-empty.toml
deleted file mode 100644
index 09f998f..0000000
--- a/tests/invalid/key-empty.toml
+++ /dev/null
@@ -1 +0,0 @@
- = 1
diff --git a/tests/invalid/key-hash.toml b/tests/invalid/key-hash.toml
deleted file mode 100644
index e321b1f..0000000
--- a/tests/invalid/key-hash.toml
+++ /dev/null
@@ -1 +0,0 @@
-a# = 1
diff --git a/tests/invalid/key-newline.toml b/tests/invalid/key-newline.toml
deleted file mode 100644
index 707aad5..0000000
--- a/tests/invalid/key-newline.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-a
-= 1
diff --git a/tests/invalid/key-open-bracket.toml b/tests/invalid/key-open-bracket.toml
deleted file mode 100644
index f0aeb16..0000000
--- a/tests/invalid/key-open-bracket.toml
+++ /dev/null
@@ -1 +0,0 @@
-[abc = 1
diff --git a/tests/invalid/key-single-open-bracket.toml b/tests/invalid/key-single-open-bracket.toml
deleted file mode 100644
index 8e2f0be..0000000
--- a/tests/invalid/key-single-open-bracket.toml
+++ /dev/null
@@ -1 +0,0 @@
-[ \ No newline at end of file
diff --git a/tests/invalid/key-space.toml b/tests/invalid/key-space.toml
deleted file mode 100644
index 201806d..0000000
--- a/tests/invalid/key-space.toml
+++ /dev/null
@@ -1 +0,0 @@
-a b = 1 \ No newline at end of file
diff --git a/tests/invalid/key-start-bracket.toml b/tests/invalid/key-start-bracket.toml
deleted file mode 100644
index e0597ae..0000000
--- a/tests/invalid/key-start-bracket.toml
+++ /dev/null
@@ -1,3 +0,0 @@
-[a]
-[xyz = 5
-[b]
diff --git a/tests/invalid/key-two-equals.toml b/tests/invalid/key-two-equals.toml
deleted file mode 100644
index 25a0378..0000000
--- a/tests/invalid/key-two-equals.toml
+++ /dev/null
@@ -1 +0,0 @@
-key= = 1
diff --git a/tests/invalid/string-bad-byte-escape.toml b/tests/invalid/string-bad-byte-escape.toml
deleted file mode 100644
index 4c7be59..0000000
--- a/tests/invalid/string-bad-byte-escape.toml
+++ /dev/null
@@ -1 +0,0 @@
-naughty = "\xAg"
diff --git a/tests/invalid/string-bad-escape.toml b/tests/invalid/string-bad-escape.toml
deleted file mode 100644
index 60acb0c..0000000
--- a/tests/invalid/string-bad-escape.toml
+++ /dev/null
@@ -1 +0,0 @@
-invalid-escape = "This string has a bad \a escape character."
diff --git a/tests/invalid/string-byte-escapes.toml b/tests/invalid/string-byte-escapes.toml
deleted file mode 100644
index e94452a..0000000
--- a/tests/invalid/string-byte-escapes.toml
+++ /dev/null
@@ -1 +0,0 @@
-answer = "\x33"
diff --git a/tests/invalid/string-no-close.toml b/tests/invalid/string-no-close.toml
deleted file mode 100644
index 0c292fc..0000000
--- a/tests/invalid/string-no-close.toml
+++ /dev/null
@@ -1 +0,0 @@
-no-ending-quote = "One time, at band camp
diff --git a/tests/invalid/table-array-implicit.toml b/tests/invalid/table-array-implicit.toml
deleted file mode 100644
index 05f2507..0000000
--- a/tests/invalid/table-array-implicit.toml
+++ /dev/null
@@ -1,14 +0,0 @@
-# This test is a bit tricky. It should fail because the first use of
-# `[[albums.songs]]` without first declaring `albums` implies that `albums`
-# must be a table. The alternative would be quite weird. Namely, it wouldn't
-# comply with the TOML spec: "Each double-bracketed sub-table will belong to
-# the most *recently* defined table element *above* it."
-#
-# This is in contrast to the *valid* test, table-array-implicit where
-# `[[albums.songs]]` works by itself, so long as `[[albums]]` isn't declared
-# later. (Although, `[albums]` could be.)
-[[albums.songs]]
-name = "Glory Days"
-
-[[albums]]
-name = "Born in the USA"
diff --git a/tests/invalid/table-array-malformed-bracket.toml b/tests/invalid/table-array-malformed-bracket.toml
deleted file mode 100644
index 39c73b0..0000000
--- a/tests/invalid/table-array-malformed-bracket.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-[[albums]
-name = "Born to Run"
diff --git a/tests/invalid/table-array-malformed-empty.toml b/tests/invalid/table-array-malformed-empty.toml
deleted file mode 100644
index a470ca3..0000000
--- a/tests/invalid/table-array-malformed-empty.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-[[]]
-name = "Born to Run"
diff --git a/tests/invalid/table-empty.toml b/tests/invalid/table-empty.toml
deleted file mode 100644
index fe51488..0000000
--- a/tests/invalid/table-empty.toml
+++ /dev/null
@@ -1 +0,0 @@
-[]
diff --git a/tests/invalid/table-nested-brackets-close.toml b/tests/invalid/table-nested-brackets-close.toml
deleted file mode 100644
index c8b5a67..0000000
--- a/tests/invalid/table-nested-brackets-close.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-[a]b]
-zyx = 42
diff --git a/tests/invalid/table-nested-brackets-open.toml b/tests/invalid/table-nested-brackets-open.toml
deleted file mode 100644
index 246d7e9..0000000
--- a/tests/invalid/table-nested-brackets-open.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-[a[b]
-zyx = 42
diff --git a/tests/invalid/table-whitespace.toml b/tests/invalid/table-whitespace.toml
deleted file mode 100644
index 79bbcb1..0000000
--- a/tests/invalid/table-whitespace.toml
+++ /dev/null
@@ -1 +0,0 @@
-[invalid key] \ No newline at end of file
diff --git a/tests/invalid/table-with-pound.toml b/tests/invalid/table-with-pound.toml
deleted file mode 100644
index 0d8edb5..0000000
--- a/tests/invalid/table-with-pound.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-[key#group]
-answer = 42 \ No newline at end of file
diff --git a/tests/invalid/text-after-array-entries.toml b/tests/invalid/text-after-array-entries.toml
deleted file mode 100644
index 1a72890..0000000
--- a/tests/invalid/text-after-array-entries.toml
+++ /dev/null
@@ -1,4 +0,0 @@
-array = [
- "Is there life after an array separator?", No
- "Entry"
-]
diff --git a/tests/invalid/text-after-integer.toml b/tests/invalid/text-after-integer.toml
deleted file mode 100644
index 42de7af..0000000
--- a/tests/invalid/text-after-integer.toml
+++ /dev/null
@@ -1 +0,0 @@
-answer = 42 the ultimate answer?
diff --git a/tests/invalid/text-after-string.toml b/tests/invalid/text-after-string.toml
deleted file mode 100644
index c92a6f1..0000000
--- a/tests/invalid/text-after-string.toml
+++ /dev/null
@@ -1 +0,0 @@
-string = "Is there life after strings?" No.
diff --git a/tests/invalid/text-after-table.toml b/tests/invalid/text-after-table.toml
deleted file mode 100644
index 87da9db..0000000
--- a/tests/invalid/text-after-table.toml
+++ /dev/null
@@ -1 +0,0 @@
-[error] this shouldn't be here
diff --git a/tests/invalid/text-before-array-separator.toml b/tests/invalid/text-before-array-separator.toml
deleted file mode 100644
index 9b06a39..0000000
--- a/tests/invalid/text-before-array-separator.toml
+++ /dev/null
@@ -1,4 +0,0 @@
-array = [
- "Is there life before an array separator?" No,
- "Entry"
-]
diff --git a/tests/invalid/text-in-array.toml b/tests/invalid/text-in-array.toml
deleted file mode 100644
index a6a6c42..0000000
--- a/tests/invalid/text-in-array.toml
+++ /dev/null
@@ -1,5 +0,0 @@
-array = [
- "Entry 1",
- I don't belong,
- "Entry 2",
-]