diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/ruby/test_io_m17n.rb | 4 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Wed Jun 26 18:28:29 2013 NAKAMURA Usaku <usa@ruby-lang.org> + + * test/ruby/test_m17n.rb: assert_predicate and assert_not_predicate + is not available on 1.9.3. + Wed Jun 26 17:08:13 2013 Kazuki Tsujimoto <kazuki@callcc.net> * include/ruby/ruby.h, vm_eval.c (rb_funcall_with_block): 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 @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.3" -#define RUBY_PATCHLEVEL 445 +#define RUBY_PATCHLEVEL 446 #define RUBY_RELEASE_DATE "2013-06-26" #define RUBY_RELEASE_YEAR 2013 |