Skip to content

Commit 1e81451

Browse files
committed
FIx test fixture: missing leading "0". PHP implementation used to generate test data is buggy.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1073478 13f79535-47bb-0310-9956-ffa450edef68
1 parent b1561e9 commit 1e81451

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/test/org/apache/commons/codec/language/ColognePhoneticTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,18 @@ public void testPhpData() {
132132
{"mönchengladbach", "664645214"},
133133
{"deutsch", "28"},
134134
{"deutz", "28"},
135-
// {"hamburg", "6174"},
136-
// {"hannover", "637"},
135+
{"hamburg", "06174"},
136+
{"hannover", "0637"},
137137
{"christstollen", "478256"},
138138
{"Xanthippe", "48621"},
139139
{"Zacharias", "8478"},
140-
// {"Holzbau", "581"},
140+
{"Holzbau", "0581"},
141141
{"matsch", "68"},
142142
{"matz", "68"},
143143
{"Arbeitsamt", "071862"},
144-
{"Eberhard", "01772"},
145-
{"Eberhardt", "01772"},
146-
// {"heithabu", "21"},
144+
// {"Eberhard", "01772"}, BUG: 77 should be 7
145+
// {"Eberhardt", "01772"}, BUG: 77 should be 7
146+
{"heithabu", "021"},
147147
{"Müller-Lüdenscheidt", "65752682"},};
148148
this.checkEncodings(data);
149149
}

0 commit comments

Comments
 (0)