summaryrefslogtreecommitdiff
path: root/test/scanners/ruby/nested-heredoc.in.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-04-14 23:59:03 +0000
committermurphy <murphy@rubychan.de>2010-04-14 23:59:03 +0000
commit200144dd009d33ff8334be24d0fb2cc91b3a87ab (patch)
treef46c939cd01b8d4165b5d9f3444c20e072b51408 /test/scanners/ruby/nested-heredoc.in.rb
parent612a14e17bdae5dbb5b13cdceec797523725cbbe (diff)
downloadcoderay-200144dd009d33ff8334be24d0fb2cc91b3a87ab.tar.gz
Moving scanner tests into separate repository. The repository can be reached at http://svn.rubychan.de/coderay-scanner-tests/trunk.
Diffstat (limited to 'test/scanners/ruby/nested-heredoc.in.rb')
-rwxr-xr-xtest/scanners/ruby/nested-heredoc.in.rb27
1 files changed, 0 insertions, 27 deletions
diff --git a/test/scanners/ruby/nested-heredoc.in.rb b/test/scanners/ruby/nested-heredoc.in.rb
deleted file mode 100755
index 3059e48..0000000
--- a/test/scanners/ruby/nested-heredoc.in.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-p "#{<<'END'.strip.reverse}\
-First
-END
-Second"
-
-p <<`one` ; p "#{<<two}"
-1
-one
-2
-two
-
-this.should.be.plain
-
-# from Rails
-unless new_record?
- connection.delete <<-end_sql, "#{self.class.name} Destroy"
- DELETE FROM #{self.class.table_name}
- WHERE #{self.class.primary_key} = #{quoted_id}
- end_sql
-end
-
-p <<this
-but it may break #{<<that}
-code.
-that
-this
-that.should.be.plain \ No newline at end of file