summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-26 09:29:42 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-26 09:29:42 +0000
commitfb3a03ee63aa8fe70497205bf27c93f3e2a009fe (patch)
treea25bd97073d748401f916229c70932fde86eade9 /test
parentb20ecf49d4d81474bf9352c0f14963cefea660c7 (diff)
* test/ruby/test_m17n.rb: assert_predicate and assert_not_predicate
is not available on 1.9.3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@41654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_io_m17n.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_io_m17n.rb b/test/ruby/test_io_m17n.rb
index 7ee90dd265..c22f665286 100644
--- a/test/ruby/test_io_m17n.rb
+++ b/test/ruby/test_io_m17n.rb
@@ -2067,7 +2067,7 @@ EOT
open("a", "wb") {|f| f.puts "a"}
open("a", "rt") {|f| f.getc}
}
- assert_predicate(c, :ascii_only?, bug4557)
+ assert(c.ascii_only?, bug4557)
end
def test_getc_conversion
@@ -2076,7 +2076,7 @@ EOT
open("a", "wb") {|f| f.putc "\xe1"}
open("a", "r:iso-8859-1:utf-8") {|f| f.getc}
}
- assert_not_predicate(c, :ascii_only?, bug8516)
+ refute(c.ascii_only?, bug8516)
assert_equal(1, c.size, bug8516)
end