diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2019-11-24 14:48:55 +0100 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2019-11-24 14:48:55 +0100 |
commit | 389be13c2002a54475627c77cd7607cc002a8607 (patch) | |
tree | 458ae2a9944663a11df0b0fd34e6b8c1da4daae7 /test/functional/basic.rb | |
parent | 3d89a2f77765ce12b513a03580d42b304bf038cd (diff) | |
parent | dceb150aff9dca50e1817636f03aa7fd7d1bb9a5 (diff) | |
download | coderay-389be13c2002a54475627c77cd7607cc002a8607.tar.gz |
Merge branch 'master' into fix-javascript-regexp
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 |