diff options
-rw-r--r-- | ja/ja_test.go | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/ja/ja_test.go b/ja/ja_test.go index b3ceb3fe..d3f6a7a9 100644 --- a/ja/ja_test.go +++ b/ja/ja_test.go @@ -59,25 +59,16 @@ func TestPluralsOrdinal(t *testing.T) { tests := []struct { expected locales.PluralRule }{ - // { - // expected: locales.PluralRuleOne, - // }, - // { - // expected: locales.PluralRuleTwo, - // }, - // { - // expected: locales.PluralRuleFew, - // }, - // { - // expected: locales.PluralRuleOther, - // }, + { + expected: locales.PluralRuleOther, + }, } rules := trans.PluralsOrdinal() - // expected := 4 - // if len(rules) != expected { - // t.Errorf("Expected '%d' Got '%d'", expected, len(rules)) - // } + expected := 1 + if len(rules) != expected { + t.Errorf("Expected '%d' Got '%d'", expected, len(rules)) + } for _, tt := range tests { |