summaryrefslogtreecommitdiff
path: root/tests/parsing
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parsing')
-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​