[前][次][番号順一覧][スレッド一覧]

ruby-changes:29602

From: usa <ko1@a...>
Date: Wed, 26 Jun 2013 18:29:55 +0900 (JST)
Subject: [ruby-changes:29602] usa:r41654 (ruby_1_9_3): * test/ruby/test_m17n.rb: assert_predicate and assert_not_predicate

usa	2013-06-26 18:29:42 +0900 (Wed, 26 Jun 2013)

  New Revision: 41654

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41654

  Log:
    * test/ruby/test_m17n.rb: assert_predicate and assert_not_predicate
      is not available on 1.9.3.

  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/test/ruby/test_io_m17n.rb
    branches/ruby_1_9_3/version.h

Index: ruby_1_9_3/ChangeLog
===================================================================
--- ruby_1_9_3/ChangeLog	(revision 41653)
+++ ruby_1_9_3/ChangeLog	(revision 41654)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/ChangeLog#L1
+Wed Jun 26 18:28:29 2013  NAKAMURA Usaku  <usa@r...>
+
+	* 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@c...>
 
 	* include/ruby/ruby.h, vm_eval.c (rb_funcall_with_block):
Index: ruby_1_9_3/version.h
===================================================================
--- ruby_1_9_3/version.h	(revision 41653)
+++ ruby_1_9_3/version.h	(revision 41654)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/version.h#L1
 #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
Index: ruby_1_9_3/test/ruby/test_io_m17n.rb
===================================================================
--- ruby_1_9_3/test/ruby/test_io_m17n.rb	(revision 41653)
+++ ruby_1_9_3/test/ruby/test_io_m17n.rb	(revision 41654)
@@ -2067,7 +2067,7 @@ EOT https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/test/ruby/test_io_m17n.rb#L2067
       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 https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/test/ruby/test_io_m17n.rb#L2076
       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
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]