diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-18 03:44:28 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-18 03:44:28 +0000 |
commit | f62fff5f413048d4cb19207212bb25fee84b9963 (patch) | |
tree | b61958ffe0670a303e9f4b556f0f8f28ef332e18 /test/ruby/test_assignment.rb | |
parent | 6355e16257501fe882c4aeeb22b683ab0f279b23 (diff) | |
download | ruby-f62fff5f413048d4cb19207212bb25fee84b9963.tar.gz |
* test/ruby/test_yield.rb (TestYieldGen): add test for yielding to
lambda using lambda parameter passing emulator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_assignment.rb')
-rw-r--r-- | test/ruby/test_assignment.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/ruby/test_assignment.rb b/test/ruby/test_assignment.rb index e7d27fbc4b..3a1e014714 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 |