mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add a test for [ruby-dev:34679].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e3562616ad
commit
f52d9a169b
1 changed files with 5 additions and 0 deletions
|
@ -100,3 +100,8 @@ assert_normal_exit %q{
|
|||
100.times {|i| a << i << nil << nil }
|
||||
p a.compact!
|
||||
}
|
||||
|
||||
assert_equal 'ok', %q{
|
||||
a = [false]
|
||||
(a[0] &&= true) == false ? :ok : :ng
|
||||
}, '[ruby-dev:34679]'
|
||||
|
|
Loading…
Reference in a new issue