Skip to content

Commit 44655be

Browse files
committed
i18n: fix broken test
Commit 6aa003d did not update a test, and now the test fails. Fix the test to make it pass.
1 parent 5b785ee commit 44655be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/compile-translations_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ func TestCreateTranslationTable(t *testing.T) {
179179
if !reflect.DeepEqual(table.Locales, expectedLocaleNames) {
180180
t.Errorf("expected %#v, but got %#v", expectedLocaleNames, table.Locales)
181181
}
182-
expectedLocaleTable := []byte("de_DE\x00en_US\x00")
182+
expectedLocaleTable := []byte("de_DE\x00en_US\x00\x00")
183183
if !reflect.DeepEqual(table.LocaleTable, expectedLocaleTable) {
184184
t.Errorf("expected %#v, but got %#v", expectedLocaleTable, table.LocaleTable)
185185
}

0 commit comments

Comments
 (0)