Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/locales.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomocy <tomocy.dev@gmail.com>2019-04-24 06:26:24 +0300
committertomocy <tomocy.dev@gmail.com>2019-04-24 06:26:24 +0300
commitacc1e833b88cef500491d9a4c5867270b5fedda9 (patch)
tree0e41d8047249d0aeaa0fee0fd9335935cc8c5173
parent5a88e43184e176d557df4a85dc6462d9af7d89f8 (diff)
add TestOrdinalPlurals of ja
-rw-r--r--ja/ja_test.go25
1 files changed, 5 insertions, 20 deletions
diff --git a/ja/ja_test.go b/ja/ja_test.go
index d2d92730..20f5f1fd 100644
--- a/ja/ja_test.go
+++ b/ja/ja_test.go
@@ -157,26 +157,11 @@ func TestOrdinalPlurals(t *testing.T) {
v uint64
expected locales.PluralRule
}{
- // {
- // num: 1,
- // v: 0,
- // expected: locales.PluralRuleOne,
- // },
- // {
- // num: 2,
- // v: 0,
- // expected: locales.PluralRuleTwo,
- // },
- // {
- // num: 3,
- // v: 0,
- // expected: locales.PluralRuleFew,
- // },
- // {
- // num: 4,
- // v: 0,
- // expected: locales.PluralRuleOther,
- // },
+ {
+ num: 1,
+ v: 0,
+ expected: locales.PluralRuleOther,
+ },
}
for _, tt := range tests {