diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2019-11-24 03:27:06 +0100 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2019-11-24 03:27:06 +0100 |
commit | 1e66d13121efecb948a1684889cbb399e4c1ff3e (patch) | |
tree | 75b072d9ec27bda5d745273c573440cb749b3d26 /test/functional/basic.rb | |
parent | 1b140ba2183f6eabe086547834d243f71fe03134 (diff) | |
download | coderay-1e66d13121efecb948a1684889cbb399e4c1ff3e.tar.gz |
fix heredoc indentation
Diffstat (limited to 'test/functional/basic.rb')
-rw-r--r-- | test/functional/basic.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/basic.rb b/test/functional/basic.rb index 752d4ba..059d56c 100644 --- a/test/functional/basic.rb +++ b/test/functional/basic.rb @@ -97,7 +97,7 @@ class BasicTest < Test::Unit::TestCase code more code - EXPECTED + EXPECTED #!/usr/bin/env ruby =begin A multi-line comment. @@ -105,7 +105,7 @@ A multi-line comment. code # A single-line comment. more code # and another comment, in-line. - INPUT + INPUT end def test_lines_of_code @@ -117,7 +117,7 @@ A multi-line comment. code # A single-line comment. more code # and another comment, in-line. - INPUT + INPUT rHTML = <<-RHTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> @@ -138,7 +138,7 @@ more code # and another comment, in-line. </body> </html> - RHTML + RHTML assert_equal 0, CodeRay.scan(rHTML, :html).lines_of_code assert_equal 0, CodeRay.scan(rHTML, :php).lines_of_code assert_equal 0, CodeRay.scan(rHTML, :yaml).lines_of_code |