summaryrefslogtreecommitdiff
path: root/test/ruby/test_pattern_matching.rb
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_pattern_matching.rb14
1 files changed, 14 insertions, 0 deletions
@@ -1051,6 +1051,20 @@ END
end
end
assert_syntax_error(%q{
case _
in "a-b":