diff options
| author | Daniel Bovensiepen <[email protected]> | 2012-05-29 07:23:17 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2012-05-29 07:23:17 +0800 |
| commit | 61a47e344db34211c8d299660d6e0eabc4463d4b (patch) | |
| tree | c440679ef6fb158e819a89b1e86d5481e64457d8 /test | |
| parent | 2d73abd84405b5096d367bd6654907ae5d9905dc (diff) | |
| download | mruby-61a47e344db34211c8d299660d6e0eabc4463d4b.tar.gz mruby-61a47e344db34211c8d299660d6e0eabc4463d4b.zip | |
Raise SEGV by using String literal
Diffstat (limited to 'test')
| -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" |
