diff --git a/test/test_blob.rb b/test/test_blob.rb index a6aa0ecf..fe3f38ee 100644 --- a/test/test_blob.rb +++ b/test/test_blob.rb @@ -8,8 +8,6 @@ require 'mime/types' class TestBlob < Test::Unit::TestCase include Linguist - Lexer = Pygments::Lexer - def setup # git blobs are normally loaded as ASCII-8BIT since they may contain data # with arbitrary encoding not known ahead of time @@ -468,10 +466,6 @@ class TestBlob < Test::Unit::TestCase end end - def test_lexer - assert_equal Lexer['Ruby'], blob("Ruby/foo.rb").lexer - end - def test_minified_files_not_safe_to_highlight assert !blob("JavaScript/jquery-1.6.1.min.js").safe_to_colorize? end