diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2020-05-09 14:22:33 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2020-05-09 14:22:33 +0900 |
commit | 0a86679a7b430242a9618bd26857e68f6bcd6278 (patch) | |
tree | 16bdc527448013f798c49d4296e19d668e2a421b /spec/ruby/language/pattern_matching_spec.rb | |
parent | 4314c05377a19faa8570dfcc5c48b0ec3f7f26c8 (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.rb | 2 |
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, _] |