mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Classify javadoc/ directories as documentation
This commit is contained in:
@@ -452,6 +452,9 @@ class TestBlob < Minitest::Test
|
||||
refute_predicate fixture_blob("project/Documentation/foo.md"), :documentation?
|
||||
refute_predicate fixture_blob("project/documentation/foo.md"), :documentation?
|
||||
|
||||
assert_predicate fixture_blob("javadoc/foo.html"), :documentation?
|
||||
assert_predicate fixture_blob("project/javadoc/foo.html"), :documentation?
|
||||
|
||||
assert_predicate fixture_blob("man/foo.html"), :documentation?
|
||||
refute_predicate fixture_blob("project/man/foo.html"), :documentation?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user