diff options
-rw-r--r-- | bootstraptest/test_knownbug.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 69cbd8f868..f907467651 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -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]' |