summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_assignment.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-18 03:44:28 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-18 03:44:28 +0000
commitfa4dc3643475bd4af981767155287954caf3d16e (patch)
treeb61958ffe0670a303e9f4b556f0f8f28ef332e18 /test/ruby/test_assignment.rb
parent877003d010fbaf9cd7616511bb0a04ba60a5b354 (diff)
downloadruby-fa4dc3643475bd4af981767155287954caf3d16e.tar.gz
ruby-fa4dc3643475bd4af981767155287954caf3d16e.tar.xz
ruby-fa4dc3643475bd4af981767155287954caf3d16e.zip
* test/ruby/test_yield.rb (TestYieldGen): add test for yielding to
lambda using lambda parameter passing emulator. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_assignment.rb')
-rw-r--r--test/ruby/test_assignment.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/ruby/test_assignment.rb b/test/ruby/test_assignment.rb
index e7d27fbc4..3a1e01471 100644
--- a/test/ruby/test_assignment.rb
+++ b/test/ruby/test_assignment.rb
@@ -636,7 +636,6 @@ class TestAssignmentGen < Test::Unit::TestCase
lopen = lhs.any? {|e| e == '*' || e == ',' }
ropen = rhs.any? {|e| e == '*' || e == ',' }
lhs = extract_single_element(lhs) if !lopen
- rhs = ["(",rhs,")"] if ropen
begin
rv = eval((ropen ? ["[",assign[2],"]"] : assign[2]).join(''))
rescue Exception