mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Add binary & ascii STLs and OBJs
This commit is contained in:
@@ -132,6 +132,12 @@ class TestBlob < Test::Unit::TestCase
|
||||
assert !blob("Binary/octocat.psd").image?
|
||||
end
|
||||
|
||||
def test_solid
|
||||
assert blob("Binary/cube.stl").solid?
|
||||
assert blob("Text/cube.stl").solid?
|
||||
assert blob("Text/cube.obj").solid?
|
||||
end
|
||||
|
||||
def test_viewable
|
||||
assert blob("Text/README").viewable?
|
||||
assert blob("Ruby/foo.rb").viewable?
|
||||
|
||||
Reference in New Issue
Block a user