From 36531238fa4ef33f1792c6ea6de5e00dcadf018a Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Fri, 19 Aug 2011 05:39:45 +0200 Subject: pretty (longer) token class names; closes #347 --- test/executable/suite.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/executable/suite.rb') 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 -- cgit v1.2.1