More inclusive documentation matches for License and Readme files

This commit is contained in:
Arfon Smith
2015-08-11 09:39:41 +01:00
parent 9a1abf0c49
commit 8d20c1fb59
2 changed files with 5 additions and 0 deletions

View File

@@ -514,6 +514,8 @@ class TestBlob < Minitest::Test
assert_predicate fixture_blob("README"), :documentation?
assert_predicate fixture_blob("README.md"), :documentation?
assert_predicate fixture_blob("README.txt"), :documentation?
assert_predicate fixture_blob("Readme"), :documentation?
assert_predicate fixture_blob("readme"), :documentation?
assert_predicate fixture_blob("foo/README"), :documentation?
assert_predicate fixture_blob("CHANGE"), :documentation?
@@ -541,6 +543,7 @@ class TestBlob < Minitest::Test
assert_predicate fixture_blob("LICENSE"), :documentation?
assert_predicate fixture_blob("LICENCE.md"), :documentation?
assert_predicate fixture_blob("License.txt"), :documentation?
assert_predicate fixture_blob("LICENSE.txt"), :documentation?
assert_predicate fixture_blob("foo/LICENSE"), :documentation?