ruby-changes:30365
From: nobu <ko1@a...>
Date: Thu, 8 Aug 2013 14:35:16 +0900 (JST)
Subject: [ruby-changes:30365] nobu:r42434 (trunk): test_range.rb: remove invalid assertions
nobu 2013-08-08 14:35:08 +0900 (Thu, 08 Aug 2013) New Revision: 42434 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42434 Log: test_range.rb: remove invalid assertions * test/ruby/test_range.rb: remove invalid assertions for [Bug #8739]. Modified files: trunk/test/ruby/test_range.rb Index: test/ruby/test_range.rb =================================================================== --- test/ruby/test_range.rb (revision 42433) +++ test/ruby/test_range.rb (revision 42434) @@ -256,14 +256,10 @@ class TestRange < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_range.rb#L256 assert_equal("c", ("a".."c").last) assert_equal(0, (2..0).last) - bug8739 = '[ruby-dev:47587] [Bug #8739] from exclusive range' - assert_equal([0, 1, 2], (0...10).first(3), bug8739) - assert_equal([7, 8, 9], (0...10).last(3), bug8739) - assert_equal(0, (0...10).first, bug8739) - assert_equal(10, (0...10).last, bug8739) - assert_equal("a", ("a"..."c").first, bug8739) - assert_equal("c", ("a"..."c").last, bug8739) - assert_equal(0, (2...0).last) + assert_equal([0, 1, 2], (0...10).first(3)) + assert_equal([7, 8, 9], (0...10).last(3)) + assert_equal(0, (0...10).first) + assert_equal("a", ("a"..."c").first) end def test_to_s -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/