summaryrefslogtreecommitdiff
path: root/tests/breaks
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-07 21:21:11 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-07 21:21:11 -0400
commit0bf9522e2d572928ba61c6b5a8b1f2113d8b4c5d (patch)
treefb52ba81c63f21c6af0e560e964502faf9f48e50 /tests/breaks
parent901b59f4517e042081df0838326785903ecec2df (diff)
downloadpango-0bf9522e2d572928ba61c6b5a8b1f2113d8b4c5d.tar.gz
Add another break testcase
This one is taken from #218.
Diffstat (limited to 'tests/breaks')
-rw-r--r--tests/breaks/two.break3
-rw-r--r--tests/breaks/two.expected5
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/breaks/two.break b/tests/breaks/two.break
new file mode 100644
index 00000000..6ff0a36e
--- /dev/null
+++ b/tests/breaks/two.break
@@ -0,0 +1,3 @@
+# Example from https://gitlab.gnome.org/GNOME/pango/issues/218
+# This shows difference between word start/end and boundary
+goril·les
diff --git a/tests/breaks/two.expected b/tests/breaks/two.expected
new file mode 100644
index 00000000..cea1f884
--- /dev/null
+++ b/tests/breaks/two.expected
@@ -0,0 +1,5 @@
+Text: g o r i l · l e s [0x0a]
+Breaks: c c c c c c c c c c Lc
+Whitespace: w w
+Words: bs e s be b
+Sentences: bs e b