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:22:51 +0300
committertomocy <tomocy.dev@gmail.com>2019-04-24 06:22:51 +0300
commitfebb7b6b6b913f964323c0170c81d27ab311b474 (patch)
tree339128718d4a86a56080fa9d27ac7e2dc03c2cff
parenta58ee420b54c3916aa3c88d48fa824637a51ae23 (diff)
add TestPluralsRange of ja
-rw-r--r--ja/ja_test.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/ja/ja_test.go b/ja/ja_test.go
index 99828cdf..b3ceb3fe 100644
--- a/ja/ja_test.go
+++ b/ja/ja_test.go
@@ -25,16 +25,16 @@ func TestPluralsRange(t *testing.T) {
tests := []struct {
expected locales.PluralRule
}{
- // {
- // expected: locales.PluralRuleOther,
- // },
+ {
+ expected: locales.PluralRuleOther,
+ },
}
rules := trans.PluralsRange()
- // expected := 1
- // 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 {