From 6a52b213edf1f146fb72a055466a35fe219e5a0d Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 4 Jul 2011 00:38:27 +0000 Subject: cleanups: Page encoder is default for HTML, benchmark KB/s instead of tokens/s --- test/functional/basic.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/functional/basic.rb') diff --git a/test/functional/basic.rb b/test/functional/basic.rb index c9879dd..dae7de6 100755 --- a/test/functional/basic.rb +++ b/test/functional/basic.rb @@ -64,7 +64,7 @@ class BasicTest < Test::Unit::TestCase end def test_highlight - assert_match '
test
', CodeRay.highlight('test', :python) + assert_match '
test
', CodeRay.highlight('test', :python) end def test_highlight_file @@ -173,7 +173,7 @@ more code # and another comment, in-line. def test_encoder_file_extension assert_nothing_raised do - assert_equal 'html', CodeRay::Encoders::HTML::FILE_EXTENSION + assert_equal 'html', CodeRay::Encoders::Page::FILE_EXTENSION assert_equal 'cocoa', Milk::FILE_EXTENSION assert_equal 'cocoa', Milk.new.file_extension assert_equal 'honeybee', HoneyBee::FILE_EXTENSION -- cgit v1.2.1