diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-26 09:29:42 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-26 09:29:42 +0000 |
commit | fb3a03ee63aa8fe70497205bf27c93f3e2a009fe (patch) | |
tree | a25bd97073d748401f916229c70932fde86eade9 | |
parent | b20ecf49d4d81474bf9352c0f14963cefea660c7 (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
-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 |