mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-28 17:20:22 +00:00
Add samples and tests for minified CSS detection.
This commit is contained in:
6307
samples/CSS/bootstrap.css
vendored
Normal file
6307
samples/CSS/bootstrap.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
873
samples/CSS/bootstrap.min.css
vendored
Normal file
873
samples/CSS/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -190,6 +190,10 @@ class TestBlob < Test::Unit::TestCase
|
||||
assert blob("JavaScript/intro.js").generated?
|
||||
assert blob("JavaScript/classes.js").generated?
|
||||
|
||||
# Minified CSS
|
||||
assert !blob("CSS/bootstrap.css").generated?
|
||||
assert blob("CSS/bootstrap.min.css").generated?
|
||||
|
||||
# Cython-generated C/C++
|
||||
assert blob("C/sgd_fast.c").generated?
|
||||
assert blob("C++/wrapper_inner.cpp").generated?
|
||||
|
||||
Reference in New Issue
Block a user