summaryrefslogtreecommitdiff
path: root/spec/ruby/language/pattern_matching_spec.rb
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-05-09 14:22:33 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-05-09 14:22:33 +0900
commit0a86679a7b430242a9618bd26857e68f6bcd6278 (patch)
tree16bdc527448013f798c49d4296e19d668e2a421b /spec/ruby/language/pattern_matching_spec.rb
parent4314c05377a19faa8570dfcc5c48b0ec3f7f26c8 (diff)
Fix a typo [ci skip]
Diffstat (limited to 'spec/ruby/language/pattern_matching_spec.rb')
-rw-r--r--spec/ruby/language/pattern_matching_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/language/pattern_matching_spec.rb b/spec/ruby/language/pattern_matching_spec.rb
index f84d84c241..91ad23bf32 100644
--- a/spec/ruby/language/pattern_matching_spec.rb
+++ b/spec/ruby/language/pattern_matching_spec.rb
@@ -403,7 +403,7 @@ ruby_version_is "2.7" do
}.should raise_error(SyntaxError, /illegal variable in alternative pattern/)
end
- it "support undescore prefixed variables in alternation" do
+ it "support underscore prefixed variables in alternation" do
eval(<<~RUBY).should == true
case [0, 1]
in [1, _]