summaryrefslogtreecommitdiff
path: root/test/samples/html_list.rb
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-09-20 17:47:19 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-09-20 17:47:19 +0200
commit9cd856dc12a14856b747faed7b5855b9de19d07c (patch)
tree82fea7943878c34d82f8fb3d232c6fe9144ff7f2 /test/samples/html_list.rb
parent370c6d3c3257da94f68a520467751e078bfdd419 (diff)
parente93aae88985667189bb5b24ad0d5f54cb5fdba70 (diff)
downloadcoderay-9cd856dc12a14856b747faed7b5855b9de19d07c.tar.gz
Merge branch 'master' into possible-speedups
Diffstat (limited to 'test/samples/html_list.rb')
-rw-r--r--test/samples/html_list.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/samples/html_list.rb b/test/samples/html_list.rb
deleted file mode 100644
index fdfa512..0000000
--- a/test/samples/html_list.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-$: << '..'
-require 'coderay'
-
-tokens = CodeRay.scan File.read(__FILE__), :ruby
-html = tokens.html(:tab_width => 2, :line_numbers => :inline, :line_number_start => -1)
-
-puts html.page(:title => 'CodeRay HTML Encoder Example')
-
-commment = <<_
-This code must be > 10 lines
-because I want to test the correct adjustment of the line numbers.
-_