summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/breaks/three.break2
-rw-r--r--tests/breaks/three.expected5
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/breaks/three.break b/tests/breaks/three.break
new file mode 100644
index 00000000..ae1d2605
--- /dev/null
+++ b/tests/breaks/three.break
@@ -0,0 +1,2 @@
+# test breaks around line separator and zero-width joiner
+one two
red blue‍green
diff --git a/tests/breaks/three.expected b/tests/breaks/three.expected
new file mode 100644
index 00000000..b7d8bd90
--- /dev/null
+++ b/tests/breaks/three.expected
@@ -0,0 +1,5 @@
+Text: o n e [ ] t w o [0x2028] r e d [ ] b l u e[0x200d] g r e e n [0x0a]
+Breaks: c c c c lc c c c Lc c c c lc c c c c c c c c c Lc
+Whitespace: x w x w w
+Words: bs be bs be bs be bs be b
+Sentences: bs e bs e b