diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_io_m17n.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_io_m17n.rb b/test/ruby/test_io_m17n.rb index 7f54762ebe..de64a78f83 100644 --- a/test/ruby/test_io_m17n.rb +++ b/test/ruby/test_io_m17n.rb @@ -316,10 +316,10 @@ EOT enc = "\u{30a8 30f3 30b3 30fc 30c7 30a3 30f3 30b0}" pattern = /#{enc}/ assert_warning(pattern) { - open(IO::NULL, external_encoding: "us-ascii", encoding: enc) + open(IO::NULL, external_encoding: "us-ascii", encoding: enc) {} } assert_warning(pattern) { - open(IO::NULL, internal_encoding: "us-ascii", encoding: enc) + open(IO::NULL, internal_encoding: "us-ascii", encoding: enc) {} } end |