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

ruby-changes:55217

From: kazu <ko1@a...>
Date: Wed, 3 Apr 2019 18:35:30 +0900 (JST)
Subject: [ruby-changes:55217] kazu:r67424 (trunk): Revive accidentally removed assertion

kazu	2019-04-03 18:35:26 +0900 (Wed, 03 Apr 2019)

  New Revision: 67424

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67424

  Log:
    Revive accidentally removed assertion

  Modified files:
    trunk/test/ruby/test_array.rb
Index: test/ruby/test_array.rb
===================================================================
--- test/ruby/test_array.rb	(revision 67423)
+++ test/ruby/test_array.rb	(revision 67424)
@@ -380,6 +380,7 @@ class TestArray < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_array.rb#L380
     assert_equal(@cls[1, 2, 3], a[..2])
     assert_equal(@cls[1, 2], a[...2])
     assert_equal(@cls[10, 11, 12], a[-91..-89])
+    assert_equal(@cls[98, 99, 100], a[-3..])
     assert_equal(@cls[1, 2, 3], a[..-98])
     assert_equal(@cls[1, 2], a[...-98])
 

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

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