summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2006-02-20 01:41:40 +0000
committermurphy <murphy@rubychan.de>2006-02-20 01:41:40 +0000
commit79b36aba787d03ff57b214613ba2bd21f076a0c8 (patch)
tree37cc57aaf26ec05ba0f6c00c96b15f02d1df0203 /test/ruby
parent6492a0d689b2e739828aeec6dec691a49535e9eb (diff)
downloadcoderay-79b36aba787d03ff57b214613ba2bd21f076a0c8.tar.gz
plugin.rb: _map loading now without exceptions (doesn't produce rubygem warnings)
test/ruby/quotes: second test case added
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/quotes.in.rb2
-rw-r--r--test/ruby/quotes.out.raydebug2
2 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/quotes.in.rb b/test/ruby/quotes.in.rb
index 74bfe77..8c38e1f 100644
--- a/test/ruby/quotes.in.rb
+++ b/test/ruby/quotes.in.rb
@@ -1 +1,3 @@
+puts %}#{%}b#{%}r}*5}}*7}, immer wieder\n}*5
+
print "test\n\\\\".gsub(/[\n\\]/, '\\\\\&')
diff --git a/test/ruby/quotes.out.raydebug b/test/ruby/quotes.out.raydebug
index 3a55efc..8c19169 100644
--- a/test/ruby/quotes.out.raydebug
+++ b/test/ruby/quotes.out.raydebug
@@ -1 +1,3 @@
+ident(puts) string<delimiter(%})inline<delimiter(#{)string<delimiter(%})content(b)inline<delimiter(#{)string<delimiter(%})content(r)delimiter(})>operator(*)integer(5)delimiter(})>delimiter(})>operator(*)integer(7)delimiter(})>content(, immer wieder)char(\\n)delimiter(})>operator(*)integer(5)
+
ident(print) string<delimiter(")content(test)char(\\n)char(\\\\)char(\\\\)delimiter(")>operator(.)ident(gsub)operator(()regexp<delimiter(/)content([)char(\\n)char(\\\\)content(])delimiter(/)>operator(,) string<delimiter(')char(\\\\)char(\\\\)content(\\&)delimiter(')>operator(\))