From 683f1f3ddde13390781318b9fe4a6841ea35d145 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Apr 2024 06:21:29 +0200 Subject: Adding upstream version 2.0.1. Signed-off-by: Daniel Baumann --- tests/data/invalid/multiline-basic-str/carriage-return.toml | 2 ++ tests/data/invalid/multiline-basic-str/escape-only.toml | 1 + tests/data/invalid/multiline-basic-str/file-ends-after-opening.toml | 1 + tests/data/invalid/multiline-basic-str/last-line-escape.toml | 4 ++++ .../multiline-basic-str/unclosed-ends-in-whitespace-escape.toml | 3 +++ 5 files changed, 11 insertions(+) create mode 100644 tests/data/invalid/multiline-basic-str/carriage-return.toml create mode 100644 tests/data/invalid/multiline-basic-str/escape-only.toml create mode 100644 tests/data/invalid/multiline-basic-str/file-ends-after-opening.toml create mode 100644 tests/data/invalid/multiline-basic-str/last-line-escape.toml create mode 100644 tests/data/invalid/multiline-basic-str/unclosed-ends-in-whitespace-escape.toml (limited to 'tests/data/invalid/multiline-basic-str') diff --git a/tests/data/invalid/multiline-basic-str/carriage-return.toml b/tests/data/invalid/multiline-basic-str/carriage-return.toml new file mode 100644 index 0000000..4c455cf --- /dev/null +++ b/tests/data/invalid/multiline-basic-str/carriage-return.toml @@ -0,0 +1,2 @@ +s="""cr is not an allowed line ending but we just tried to use it +""" \ No newline at end of file diff --git a/tests/data/invalid/multiline-basic-str/escape-only.toml b/tests/data/invalid/multiline-basic-str/escape-only.toml new file mode 100644 index 0000000..f3bd9fc --- /dev/null +++ b/tests/data/invalid/multiline-basic-str/escape-only.toml @@ -0,0 +1 @@ +bee = """\""" diff --git a/tests/data/invalid/multiline-basic-str/file-ends-after-opening.toml b/tests/data/invalid/multiline-basic-str/file-ends-after-opening.toml new file mode 100644 index 0000000..1c2a564 --- /dev/null +++ b/tests/data/invalid/multiline-basic-str/file-ends-after-opening.toml @@ -0,0 +1 @@ +a=""" \ No newline at end of file diff --git a/tests/data/invalid/multiline-basic-str/last-line-escape.toml b/tests/data/invalid/multiline-basic-str/last-line-escape.toml new file mode 100644 index 0000000..92b22b0 --- /dev/null +++ b/tests/data/invalid/multiline-basic-str/last-line-escape.toml @@ -0,0 +1,4 @@ +bee = """ +hee \ + +gee \ """ diff --git a/tests/data/invalid/multiline-basic-str/unclosed-ends-in-whitespace-escape.toml b/tests/data/invalid/multiline-basic-str/unclosed-ends-in-whitespace-escape.toml new file mode 100644 index 0000000..3ba7feb --- /dev/null +++ b/tests/data/invalid/multiline-basic-str/unclosed-ends-in-whitespace-escape.toml @@ -0,0 +1,3 @@ +bee = """ +hee +gee\ \ No newline at end of file -- cgit v1.2.3