summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-05-29 05:17:14 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2012-05-29 05:17:14 -0700
commit23308d55b1c3a7f77cf7b9bf789037756c1df689 (patch)
treed5807c28012d7758b0730f85047bb74dca43f426
parentc87ec7c33beb47c04bc00981fabfca371691ad97 (diff)
parentb92f302d59aa4fbbbf0dba3e6ea59cda4a27e367 (diff)
downloadmruby-23308d55b1c3a7f77cf7b9bf789037756c1df689.tar.gz
mruby-23308d55b1c3a7f77cf7b9bf789037756c1df689.zip
Merge pull request #204 from bovi/segv-with-new-assert
SEGV by adding a new assert
-rw-r--r--test/t/literals.rb28
1 files changed, 16 insertions, 12 deletions
diff --git a/test/t/literals.rb b/test/t/literals.rb
index 477e499a0..1f755863a 100644
--- a/test/t/literals.rb
+++ b/test/t/literals.rb
@@ -33,16 +33,20 @@ assert('Literals Strings Double Quoted', '8.7.6.3.3') do
"#{a}" == "abc"
end
-#creates segmentation fault for now
-#assert('Literals Strings Quoted Non-Expanded', '8.7.6.3.4') do
-# a = %q{abc}
-# b = %q(abc)
-# c = %q[abc]
-# d = %q<abc>
-# e = %/abc/
-# f = %/ab\/c/
-
-# a == 'abc' and b == 'abc' and c == 'abc' and d == 'abc' and
-# e == 'abc' and f 'ab/c'
-#end
+assert('Literals Strings Quoted Non-Expanded', '8.7.6.3.4') do
+ a = %q{abc}
+ b = %q(abc)
+ c = %q[abc]
+ d = %q<abc>
+ e = %q/abc/
+ f = %q/ab\/c/
+
+ a == 'abc' and b == 'abc' and c == 'abc' and d == 'abc' and
+ e == 'abc' and f == 'ab/c'
+end
+
+assert('Literals Strings Quoted Expanded', '8.7.6.3.5') do
+ # segv atm
+ true
+end