summaryrefslogtreecommitdiffstats
path: root/tests/data/invalid/multiline-basic-str
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:21:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:21:29 +0000
commit683f1f3ddde13390781318b9fe4a6841ea35d145 (patch)
treec21fddf99f2e5233bb3f22bbafd0d711fe7c5d95 /tests/data/invalid/multiline-basic-str
parentInitial commit. (diff)
downloadpython-tomli-683f1f3ddde13390781318b9fe4a6841ea35d145.tar.xz
python-tomli-683f1f3ddde13390781318b9fe4a6841ea35d145.zip
Adding upstream version 2.0.1.upstream/2.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/data/invalid/multiline-basic-str')
-rw-r--r--tests/data/invalid/multiline-basic-str/carriage-return.toml2
-rw-r--r--tests/data/invalid/multiline-basic-str/escape-only.toml1
-rw-r--r--tests/data/invalid/multiline-basic-str/file-ends-after-opening.toml1
-rw-r--r--tests/data/invalid/multiline-basic-str/last-line-escape.toml4
-rw-r--r--tests/data/invalid/multiline-basic-str/unclosed-ends-in-whitespace-escape.toml3
5 files changed, 11 insertions, 0 deletions
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