mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
bootstraptest/test_insns.rb: test newhashfromarray
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b16d73ae0c
commit
4365e64005
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ tests = [
|
|||
|
||||
[ 'newhash', %q{ x = {}; x[x] = true }, ],
|
||||
[ 'newhash', %q{ x = true; { x => x }[x] }, ],
|
||||
[ 'newhashfromarray', %q{ { a: true }[:a] }, ],
|
||||
[ 'newrange', %q{ x = 1; [*(0..x)][0] == 0 }, ],
|
||||
[ 'newrange', %q{ x = 1; [*(0...x)][0] == 0 }, ],
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue