1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix a typo [ci skip]

This commit is contained in:
Kazuhiro NISHIYAMA 2020-05-09 14:22:33 +09:00
parent 4314c05377
commit 0a86679a7b
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -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, _]