Skip to content

Commit

Permalink
search: fix language code of Japanese (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
rock619 authored and sbuss committed Mar 28, 2018
1 parent b97816d commit 138cbf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search/search_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func TestLoadFieldList(t *testing.T) {
func TestLangFields(t *testing.T) {
fl := &FieldList{
{Name: "Foo", Value: "I am English", Language: "en"},
{Name: "Bar", Value: "私は日本人だ", Language: "jp"},
{Name: "Bar", Value: "私は日本人だ", Language: "ja"},
}
var got FieldList
doc, err := saveDoc(fl)
Expand Down

0 comments on commit 138cbf0

Please sign in to comment.