[pango/hyphen-log-attr: 4/4] Add some new tests for hyphens




commit a97dd54a390daea9324bac3a2b2f5d2d1ae917ce
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 fo­ur
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]