diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-05-28 17:24:46 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-05-28 17:24:46 -0700 |
| commit | d8cd21be45654ec3ec8a93ddd8826b409a107615 (patch) | |
| tree | c440679ef6fb158e819a89b1e86d5481e64457d8 | |
| parent | 2d73abd84405b5096d367bd6654907ae5d9905dc (diff) | |
| parent | 61a47e344db34211c8d299660d6e0eabc4463d4b (diff) | |
| download | mruby-d8cd21be45654ec3ec8a93ddd8826b409a107615.tar.gz mruby-d8cd21be45654ec3ec8a93ddd8826b409a107615.zip | |
Merge pull request #203 from bovi/segv-string-literal
Raise SEGV by using String literal
| -rw-r--r-- | test/t/literals.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/t/literals.rb b/test/t/literals.rb index 92f9bd755..477e499a0 100644 --- a/test/t/literals.rb +++ b/test/t/literals.rb @@ -22,10 +22,9 @@ assert('Literals Numerical', '8.7.6.2') do 1.0e1 == 10.0 and 1.0e-1 == 0.1 and 1.0e+1 == 10.0 end -#assert('Literals Strings Single Quoted', '8.7.6.3.2') do -# creates segmentation fault for now -# 'abc' == 'abc' and '\'' == '\'' and '\\' == '\\' -#end +assert('Literals Strings Single Quoted', '8.7.6.3.2') do + 'abc' == 'abc' and '\'' == '\'' and '\\' == '\\' +end assert('Literals Strings Double Quoted', '8.7.6.3.3') do a = "abc" |
