Categorize INSTALL files as documentation too

This commit is contained in:
Adam Roben
2015-02-13 14:30:44 -05:00
parent 6a86e8ea97
commit 8d2dd55c94
2 changed files with 6 additions and 0 deletions

View File

@@ -14,5 +14,6 @@
- (^|/)CONTRIBUTING(\.|$) - (^|/)CONTRIBUTING(\.|$)
- (^|/)COPYING(\.|$) - (^|/)COPYING(\.|$)
- (^|/)INSTALL(\.|$)
- (^|/)LICEN[CS]E(\.|$) - (^|/)LICEN[CS]E(\.|$)
- (^|/)README(\.|$) - (^|/)README(\.|$)

View File

@@ -470,6 +470,11 @@ class TestBlob < Minitest::Test
assert_predicate fixture_blob("COPYING.txt"), :documentation? assert_predicate fixture_blob("COPYING.txt"), :documentation?
assert_predicate fixture_blob("foo/COPYING"), :documentation? assert_predicate fixture_blob("foo/COPYING"), :documentation?
assert_predicate fixture_blob("INSTALL"), :documentation?
assert_predicate fixture_blob("INSTALL.md"), :documentation?
assert_predicate fixture_blob("INSTALL.txt"), :documentation?
assert_predicate fixture_blob("foo/INSTALL"), :documentation?
refute_predicate fixture_blob("foo.md"), :documentation? refute_predicate fixture_blob("foo.md"), :documentation?
end end