summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-09-08 19:48:21 -0400
committerpommicket <pommicket@gmail.com>2025-09-08 19:48:21 -0400
commitaba95d2f8cd0b945a7cf774f8c628a000f601810 (patch)
tree66d18b5dfb473833ab8c01d83f11b5ec42b50a7e /tests
parent99ab15be006b736522017b2c16a206e6540cc57d (diff)
Add whitespace test
Diffstat (limited to 'tests')
-rw-r--r--tests/parsing/whitespace.flat.pom9
-rw-r--r--tests/parsing/whitespace.pom14
2 files changed, 23 insertions, 0 deletions
diff --git a/tests/parsing/whitespace.flat.pom b/tests/parsing/whitespace.flat.pom
new file mode 100644
index 0000000..84fa535
--- /dev/null
+++ b/tests/parsing/whitespace.flat.pom
@@ -0,0 +1,9 @@
+foo1 = "bar1"
+foo2 = "bar2"
+foo3 = "bar3"
+sect.foo4 = "bar4"
+sect2.foo = "7"
+hasspc = "\t space\t "
+hasspc2 = " \tspace \t"
+nbsp = "\u{a0}n\u{a0}"
+zwsp = "\u{200b}z\u{200b}"
diff --git a/tests/parsing/whitespace.pom b/tests/parsing/whitespace.pom
new file mode 100644
index 0000000..6598fa1
--- /dev/null
+++ b/tests/parsing/whitespace.pom
@@ -0,0 +1,14 @@
+
+#^ byte order marker
+foo1=bar1
+foo2 = bar2
+ foo3 = bar3
+ [sect]
+ foo4 = bar4
+[sect2]
+ foo=7
+[]
+hasspc=" space "
+hasspc2=` space `
+nbsp=  n 
+zwsp=​z​