aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_assignment.rb
diff options
context:
space:
mode:
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 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