mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Skip colorizing minified js
This commit is contained in:
@@ -431,4 +431,8 @@ class TestBlob < Test::Unit::TestCase
|
||||
<span class="k">end</span>
|
||||
HTML
|
||||
end
|
||||
|
||||
def test_colorize_skips_minified_files
|
||||
assert_nil blob("jquery-1.6.1.min.js").colorize
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user