瀏覽代碼

add TestCardinalPlurals of ja

tomocy 7 年之前
父節點
當前提交
33f4c7152a
共有 1 個文件被更改,包括 5 次插入10 次删除
  1. 5 10
      ja/ja_test.go

+ 5 - 10
ja/ja_test.go

@@ -181,16 +181,11 @@ func TestCardinalPlurals(t *testing.T) {
 		v        uint64
 		expected locales.PluralRule
 	}{
-		// {
-		// 	num:      1,
-		// 	v:        0,
-		// 	expected: locales.PluralRuleOne,
-		// },
-		// {
-		// 	num:      4,
-		// 	v:        0,
-		// 	expected: locales.PluralRuleOther,
-		// },
+		{
+			num:      1,
+			v:        0,
+			expected: locales.PluralRuleOther,
+		},
 	}
 
 	for _, tt := range tests {