Skip to content

Commit 7d8615e

Browse files
authored
Merge pull request hamcrest#211 from kianmeng/fix-typos
Fix typo, emtpy -> empty
2 parents 046e225 + 8307bbf commit 7d8615e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/hamcrest_unit_test/collection/is_empty_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def testReturnsTrueForEmptyStandardCollections(self):
1919
matcher = empty()
2020
self.assert_matches("empty tuple", matcher, ())
2121
self.assert_matches("empty list", matcher, [])
22-
self.assert_matches("emtpy dictionary", matcher, {})
22+
self.assert_matches("empty dictionary", matcher, {})
2323

2424
def testReturnsTrueForEmptyCollectionLike(self):
2525
matcher = empty()
@@ -29,7 +29,7 @@ def testReturnsFalseForNonEmptyStandardCollections(self):
2929
matcher = empty()
3030
self.assert_does_not_match("non-empty tuple", matcher, (1,))
3131
self.assert_does_not_match("non-empty list", matcher, [1])
32-
self.assert_does_not_match("emtpy dictionary", matcher, {1: 2})
32+
self.assert_does_not_match("empty dictionary", matcher, {1: 2})
3333

3434
def testReturnsFalseForNonEmptyCollectionLike(self):
3535
matcher = empty()

0 commit comments

Comments
 (0)