Project

General

Profile

Bug #2035 ยป literal_segfault_assert.patch

new test that causes segfault - Cezary (Cezary Baginski), 09/03/2009 04:28 PM

View differences:

bootstraptest/test_literal.rb (kopia robocza)
assert_equal '2', '"#{1 + 1}"'
assert_equal '16', '"#{2 ** 4}"'
assert_equal 'string', 's = "string"; "#{s}"'
assert_equal 'a a value a', 'a = :a; "#{a} " "#{a} " "value #{a}"'
# dynamic symbol literal
assert_equal 'a3c', ':"a#{1+2}c"'
    (1-1/1)