mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Replace Lexer with Pygments::Lexer
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
require 'linguist/pathname'
|
||||
|
||||
require 'test/unit'
|
||||
require 'pygments'
|
||||
|
||||
class TestPathname < Test::Unit::TestCase
|
||||
include Linguist
|
||||
|
||||
Lexer = Pygments::Lexer
|
||||
|
||||
def test_to_s
|
||||
assert_equal "file.rb", Pathname.new("file.rb").to_s
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user