summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-30 06:56:18 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-30 06:56:18 +0000
commit95cbad84ec6608fd88d3b6128bb7e812f01af75c (patch)
tree873570181bc80e61f01eca31effb94af645c188c /test
parent196d35944013d732d213658c17d41617aaa86aa4 (diff)
downloadruby-95cbad84ec6608fd88d3b6128bb7e812f01af75c.tar.gz
ruby-95cbad84ec6608fd88d3b6128bb7e812f01af75c.tar.xz
ruby-95cbad84ec6608fd88d3b6128bb7e812f01af75c.zip
* eval.c (rb_eval): NODE_XSTR should pass copy of literal string.
* array.c (rb_ary_update): a[n,m]=nil no longer works as element deletion. * enum.c (enum_sort_by): protect continuation jump in. [ruby-dev:24642] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ripper/test_parser_events.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ripper/test_parser_events.rb b/test/ripper/test_parser_events.rb
index db16ec5f1..445321a49 100644
--- a/test/ripper/test_parser_events.rb
+++ b/test/ripper/test_parser_events.rb
@@ -50,7 +50,7 @@ class TestRipper_ParserEvents < Test::Unit::TestCase
end
def test_alias
- assert_equal '[alias(a,b)]', parse('alias a b')
+ assert_equal '[alias(symbol_literal(a),symbol_literal(b))]', parse('alias a b')
end
def test_var_alias