summaryrefslogtreecommitdiff
path: root/test/ruby/test_const.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-06-16 23:00:05 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-06-16 23:00:05 +0900
commit1ff26dc4c706cd6e8f227d159a2b23cba5f6de77 (patch)
treea214d8e8730d08e3fd6f9ff9109a9abc0686fc52 /test/ruby/test_const.rb
parent11f8c89171ff0b260891dec064cf69d9400a0704 (diff)
Revert "Make constant assignments more conforming to JIS X 3017:2013 11.4.2.2.3"
This reverts commit 44caca11cfa6bea01a1ef738846183f1a56d5658. The change caused a build failure. http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2102153
Diffstat (limited to 'test/ruby/test_const.rb')
-rw-r--r--test/ruby/test_const.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/ruby/test_const.rb b/test/ruby/test_const.rb
index fa512aa437..8784e0e988 100644
--- a/test/ruby/test_const.rb
+++ b/test/ruby/test_const.rb
@@ -69,12 +69,4 @@ PRE
def test_toplevel_lookup
assert_raise(NameError, '[Feature #11547]') {TestConst::Object}
end
-
- def test_evaluation_order
- assert_raise_with_message(RuntimeError, "recv", 'JIS X 3017:2013 11.4.2.2.3') {
- eval <<~EOS
- raise('recv')::C = raise('value')
- EOS
- }
- end
end