aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_symbol.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_symbol.rb')
-rw-r--r--test/ruby/test_symbol.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb
index 07b75b0024..5f8314cf35 100644
--- a/test/ruby/test_symbol.rb
+++ b/test/ruby/test_symbol.rb
@@ -137,6 +137,7 @@ class TestSymbol < Test::Unit::TestCase
assert_separately([], <<-"end;", timeout: 5.0)
bug11566 = '[ruby-core:70980] [Bug #11566]'
assert_raise(NoMethodError, bug11566) {Proc.new(&:foo).(1)}
+ assert_raise(NoMethodError, bug11566) {:foo.to_proc.(1)}
end;
end