mirror of
https://github.com/KevinMidboe/linguist.git
synced 2026-02-13 19:59:34 +00:00
Add colorize_without_wrapper
This commit is contained in:
@@ -179,4 +179,11 @@ class TestBlob < Test::Unit::TestCase
|
||||
</div>
|
||||
HTML
|
||||
end
|
||||
|
||||
def test_colorize_without_wrapper
|
||||
assert_equal <<-HTML, blob("foo.rb").colorize_without_wrapper
|
||||
<span class="k">module</span> <span class="nn">Foo</span>
|
||||
<span class="k">end</span>
|
||||
HTML
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user