summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2012-04-02 00:15:20 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2012-04-02 00:15:20 +0200
commit5c4124559127f8ce991e31e4ea8a40516fe0757a (patch)
treef1d513f7ddb722bebd218115534921d203592c6a /test
parentdf4e2bc7f7d8238f56e2d823aea707bfd860ad8f (diff)
downloadcoderay-5c4124559127f8ce991e31e4ea8a40516fe0757a.tar.gz
rename :independent_lines option to :break_lines
Diffstat (limited to 'test')
-rw-r--r--test/unit/html.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/html.rb b/test/unit/html.rb
index cc4a0c6..0072635 100644
--- a/test/unit/html.rb
+++ b/test/unit/html.rb
@@ -3,7 +3,7 @@ require 'coderay'
class HtmlTest < Test::Unit::TestCase
- def test_independent_lines_option
+ def test_break_lines_option
snippets = {}
snippets[:ruby] = {}
@@ -96,8 +96,8 @@ public class Test {
tokens = CodeRay.scan code[:in], lang
assert_equal code[:expected_with_option_off], tokens.html
- assert_equal code[:expected_with_option_off], tokens.html(:independent_lines => false)
- assert_equal code[:expected_with_option_on], tokens.html(:independent_lines => true)
+ assert_equal code[:expected_with_option_off], tokens.html(:break_lines => false)
+ assert_equal code[:expected_with_option_on], tokens.html(:break_lines => true)
end
end
end