summaryrefslogtreecommitdiff
path: root/test/ruby/test_io_m17n.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-07 01:23:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-07 01:23:07 +0000
commit298258891d2f8a80f8d1eac193c6609a256a3cf0 (patch)
tree0c7bac8b88d9d2b57e3aa9635f6839a8e97b1b35 /test/ruby/test_io_m17n.rb
parentb5ba059a0b21ba6a198d8dca864045c37ce3babb (diff)
use assert_equal, assert_match, and so on.
* test/fileutils/fileasserts.rb: use assert_equal, assert_match, and so on. * test/ruby/enc/test_utf16.rb, test/ruby/enc/test_utf32.rb, test/ruby/test_io_m17n.rb (assert_str_equal): ditto. * test/rubygems/test_gem_remote_fetcher.rb (assert_data_from_{server,proxy}): ditto. * test/test_pstore.rb (test_thread_safe): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_io_m17n.rb')
-rw-r--r--test/ruby/test_io_m17n.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_io_m17n.rb b/test/ruby/test_io_m17n.rb
index fcbe6e05198..719214d4919 100644
--- a/test/ruby/test_io_m17n.rb
+++ b/test/ruby/test_io_m17n.rb
@@ -71,7 +71,7 @@ class TestIO_M17N < Test::Unit::TestCase
#{encdump expected} expected but not equal to
#{encdump actual}.
EOT
- assert_block(full_message) { expected == actual }
+ assert_equal(expected, actual, full_message)
end
def test_open_r