[pango/hyphen-log-attr: 5/5] Add some new tests for hyphens
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/hyphen-log-attr: 5/5] Add some new tests for hyphens
- Date: Wed, 25 Aug 2021 03:10:31 +0000 (UTC)
commit b9c43498890638b8fc22ab0cd5013e553f97b266
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Aug 24 22:57:04 2021 -0400
Add some new tests for hyphens
tests/breaks/fifteen.break | 1 +
tests/breaks/fifteen.expected | 7 +++++++
2 files changed, 8 insertions(+)
---
diff --git a/tests/breaks/fifteen.break b/tests/breaks/fifteen.break
new file mode 100644
index 00000000..452d9bb5
--- /dev/null
+++ b/tests/breaks/fifteen.break
@@ -0,0 +1 @@
+<span insert_hyphens='false'>one</span> two-three four
diff --git a/tests/breaks/fifteen.expected b/tests/breaks/fifteen.expected
new file mode 100644
index 00000000..3f5e4655
--- /dev/null
+++ b/tests/breaks/fifteen.expected
@@ -0,0 +1,7 @@
+Text: o n e [ ] t w o - t h r e e [ ] f o [0xad] u r [0x0a]
+Breaks: c c c c lc c c c lc c c c c c lc c c lc c c c
+Whitespace: x x w w
+Sentences: bs e b
+Words: bs be bs be bs be bs be b
+Graphemes: b b b b b b b b b b b b b b b b b b b b b
+Hyphens: i i i i i i i i i
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]