summaryrefslogtreecommitdiff
path: root/test/ruby/test_proc.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-29 05:33:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-29 05:33:43 +0000
commite1cc51407329230aab32088ed67f78b0c5c23e8b (patch)
tree8bafa7bb2284a03c51b61884e930268507ef0e07 /test/ruby/test_proc.rb
parent4c205de3e6fa7da642820fe069734e6321397423 (diff)
* test/ruby: fixed nonsense assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_proc.rb')
-rw-r--r--test/ruby/test_proc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_proc.rb b/test/ruby/test_proc.rb
index 5e04d465ca..dc38f18e81 100644
--- a/test/ruby/test_proc.rb
+++ b/test/ruby/test_proc.rb
@@ -379,7 +379,7 @@ class TestProc < Test::Unit::TestCase
assert_equal [1,2,3,[4,5,6]], pr.call([1,2,3,4,5,6])
r = proc{|*a| a}.call([1,2,3])
- assert [1,2,3], r
+ assert_equal [[1,2,3]], r
end
def test_proc_args_rest_and_post