Skip to content

Commit 871c447

Browse files
committed
Adjust tests after changes in headers of gettext files
1 parent f6233f6 commit 871c447

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_msgcheck.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ def test_checks():
124124
assert report.message == "number of lines: 2 in string, 1 in translation"
125125
assert report.idmsg == "lines"
126126
assert "fr_errors.po" in report.filename
127-
assert report.line == 42
127+
assert report.line == 44
128128
assert report.mid == "Test 1 on two lines.\nLine 2."
129129
assert report.mstr == "Test 1 sur deux lignes."
130130
assert report.fuzzy is False
131131
assert (
132-
"fr_errors.po:42: [lines] number of lines: "
132+
"fr_errors.po:44: [lines] number of lines: "
133133
"2 in string, 1 in translation" in str(report)
134134
)
135135

@@ -142,7 +142,7 @@ def test_checks():
142142
assert report.message == expected
143143
assert report.idmsg == "whitespace_eol"
144144
assert "fr_errors.po" in report.filename
145-
assert report.line == 74
145+
assert report.line == 76
146146
assert report.mid == "Line 1. \nLine 2."
147147
assert report.mstr == "Ligne 1.\nLigne 2."
148148
assert report.fuzzy is False

0 commit comments

Comments
 (0)