summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bootstraptest/test_knownbug.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index b97a08d92..91e3cd5e4 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -3,3 +3,9 @@
# So all tests will cause failure.
#
+assert_normal_exit %{
+ def foo(&block)
+ yield if block
+ end
+ foo(&:bar)
+}, '[ruby-core:14279]'