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

ruby-changes:6467

From: nobu <ko1@a...>
Date: Thu, 10 Jul 2008 10:21:01 +0900 (JST)
Subject: [ruby-changes:6467] Ruby:r17983 (ruby_1_8): * test/ruby/test_string.rb (test_succ, test_succ!): reverted stale

nobu	2008-07-10 10:20:49 +0900 (Thu, 10 Jul 2008)

  New Revision: 17983

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

  Log:
    * test/ruby/test_string.rb (test_succ, test_succ!): reverted stale
      tests.  [ruby-core:17704]

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/test/ruby/test_string.rb

Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 17982)
+++ ruby_1_8/ChangeLog	(revision 17983)
@@ -1,3 +1,8 @@
+Thu Jul 10 10:20:46 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* test/ruby/test_string.rb (test_succ, test_succ!): reverted stale
+	  tests.  [ruby-core:17704]
+
 Thu Jul 10 02:12:29 2008  Yukihiro Matsumoto  <matz@r...>
 
 	* lib/irb/ruby-lex.rb: support for '\c'. [ruby-talk:263508]
Index: ruby_1_8/test/ruby/test_string.rb
===================================================================
--- ruby_1_8/test/ruby/test_string.rb	(revision 17982)
+++ ruby_1_8/test/ruby/test_string.rb	(revision 17983)
@@ -27,7 +27,6 @@
     assert_equal("1000", "999".succ)
     assert_equal("2.000", "1.999".succ)
 
-    assert_equal("No.10", "No.9".succ)
     assert_equal("2000aaa",  "1999zzz".succ)
     assert_equal("AAAAA000", "ZZZZ999".succ)
     assert_equal("*+", "**".succ)
@@ -75,10 +74,6 @@
     assert_equal("*+", a.succ!)
     assert_equal("*+", a)
 
-    a = "No.9"
-    assert_equal("No.10", a.succ!)
-    assert_equal("No.10", a)
-
     assert_equal("aaaaaaaaaaaa", "zzzzzzzzzzz".succ!)
     assert_equal("aaaaaaaaaaaaaaaaaaaaaaaa", "zzzzzzzzzzzzzzzzzzzzzzz".succ!)
   end

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

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