summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-09 09:46:48 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-09 09:47:27 -0400
commitb737fc42f760ad5918c40210e815eaac50306734 (patch)
tree2c9fd0714592bd57719ea3e540f8a795b7d1c0ff
parent0e3da88d1606300a04dfde625cd28af4c958b14c (diff)
downloadpango-b737fc42f760ad5918c40210e815eaac50306734.tar.gz
Update tests
test-break was using the is_soft_hyphen log attr that we've just removed again. Adapt, and update expected test output.
-rw-r--r--tests/breaks/one.expected10
-rw-r--r--tests/test-break.c5
2 files changed, 5 insertions, 10 deletions
diff --git a/tests/breaks/one.expected b/tests/breaks/one.expected
index 7fb600e6..d474c6e4 100644
--- a/tests/breaks/one.expected
+++ b/tests/breaks/one.expected
@@ -1,5 +1,5 @@
-Text: a b c / d e f [ ] g h i [0xad] j k l . [ ] B l a [0x0a]
-Breaks: c c c c lc c c c lc c c c lhc c c c c lc c c c Lc
-Whitespace: x x w w
-Words: bs be bs be bs be b bs be b
-Sentences: bs e bs e b
+Text: a b c / d e f [ ] g h i [0xad] j k l . [ ] B l a [0x0a]
+Breaks: c c c c lc c c c lc c c c lc c c c c lc c c c Lc
+Whitespace: x x w w
+Words: bs be bs be bs be b bs be b
+Sentences: bs e bs e b
diff --git a/tests/test-break.c b/tests/test-break.c
index e4c5bd28..00bc7be0 100644
--- a/tests/test-break.c
+++ b/tests/test-break.c
@@ -103,11 +103,6 @@ test_file (const gchar *filename, GString *string)
g_string_append (s1, "l");
b++;
}
- if (log.is_soft_hyphen)
- {
- g_string_append (s1, "h");
- b++;
- }
if (log.is_char_break)
{
g_string_append (s1, "c");