summaryrefslogtreecommitdiff
path: root/test/executable
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-08-19 05:39:45 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2011-08-19 05:39:45 +0200
commit36531238fa4ef33f1792c6ea6de5e00dcadf018a (patch)
treecca387c2b27dc23d71dab6bd928e10fcdc6cd46b /test/executable
parent5dd7ca65fdb90d6ffe53790abf1fe5a29a66675e (diff)
downloadcoderay-36531238fa4ef33f1792c6ea6de5e00dcadf018a.tar.gz
pretty (longer) token class names; closes #347
Diffstat (limited to 'test/executable')
-rw-r--r--test/executable/suite.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/executable/suite.rb b/test/executable/suite.rb
index b3f8025..42fb049 100644
--- a/test/executable/suite.rb
+++ b/test/executable/suite.rb
@@ -174,7 +174,7 @@ class TestCodeRayExecutable < Test::Unit::TestCase
should 'respect the file extension and highlight the input as Python' do
target = coderay(command)
- assert_equal %w(kw cl kw), target[pre, 1].scan(tag_class).flatten
+ assert_equal %w(keyword class keyword), target[pre, 1].scan(tag_class).flatten
end
end
@@ -189,7 +189,7 @@ class TestCodeRayExecutable < Test::Unit::TestCase
should 'ignore the file extension and highlight the input as Ruby' do
target = coderay(command)
- assert_equal %w(kw cl), target[pre, 1].scan(tag_class).flatten
+ assert_equal %w(keyword class), target[pre, 1].scan(tag_class).flatten
end
end