[pango] Add another break testcase
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Add another break testcase
- Date: Mon, 8 Jul 2019 01:21:52 +0000 (UTC)
commit 0bf9522e2d572928ba61c6b5a8b1f2113d8b4c5d
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jul 7 21:21:11 2019 -0400
Add another break testcase
This one is taken from #218.
tests/breaks/two.break | 3 +++
tests/breaks/two.expected | 5 +++++
2 files changed, 8 insertions(+)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]