[pango/soft-hyphen-cleanup: 4/4] Update tests
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/soft-hyphen-cleanup: 4/4] Update tests
- Date: Tue, 9 Jul 2019 13:48:22 +0000 (UTC)
commit b737fc42f760ad5918c40210e815eaac50306734
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jul 9 09:46:48 2019 -0400
Update tests
test-break was using the is_soft_hyphen log attr
that we've just removed again. Adapt, and update
expected test output.
tests/breaks/one.expected | 10 +++++-----
tests/test-break.c | 5 -----
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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]