Skip to content
This repository was archived by the owner on Nov 27, 2021. It is now read-only.

Commit 6b7e483

Browse files
committed
fix test
1 parent 74d1d34 commit 6b7e483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

i18n_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func Test_Tr(t *testing.T) {
4949
if len(langs) != 1 {
5050
t.Errorf("expect '1', got '%d'", len(langs))
5151
} else if langs[0] != "en-US" {
52-
t.Errorf("expect 'en-US', got '%s'", langs)
52+
t.Errorf("expect 'en-US', got '%s'", langs[0])
5353
}
5454

5555
Flush()

0 commit comments

Comments
 (0)