Skip to content

Commit 21f7057

Browse files
committed
java: fix wrong variant format
Fix the fourth report of mutoh#5. Patch by Hleb Valoshka. Thanks!!!
1 parent 839cbb5 commit 21f7057

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_driver_jruby.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def setup
1212
end
1313

1414
def set_locale(tag)
15-
java.util.Locale.setDefault(java.util.Locale.new(tag.language, tag.region, tag.variants.to_s))
15+
java.util.Locale.setDefault(java.util.Locale.new(tag.language, tag.region, tag.variants.join("_")))
1616
end
1717

1818
def test_charset

0 commit comments

Comments
 (0)