Skip to content

Commit

Permalink
Merge pull request #211 from kianmeng/fix-typos
Browse files Browse the repository at this point in the history
Fix typo, emtpy -> empty
  • Loading branch information
offbyone authored Aug 7, 2022
2 parents 046e225 + 8307bbf commit 7d8615e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/hamcrest_unit_test/collection/is_empty_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def testReturnsTrueForEmptyStandardCollections(self):
matcher = empty()
self.assert_matches("empty tuple", matcher, ())
self.assert_matches("empty list", matcher, [])
self.assert_matches("emtpy dictionary", matcher, {})
self.assert_matches("empty dictionary", matcher, {})

def testReturnsTrueForEmptyCollectionLike(self):
matcher = empty()
Expand All @@ -29,7 +29,7 @@ def testReturnsFalseForNonEmptyStandardCollections(self):
matcher = empty()
self.assert_does_not_match("non-empty tuple", matcher, (1,))
self.assert_does_not_match("non-empty list", matcher, [1])
self.assert_does_not_match("emtpy dictionary", matcher, {1: 2})
self.assert_does_not_match("empty dictionary", matcher, {1: 2})

def testReturnsFalseForNonEmptyCollectionLike(self):
matcher = empty()
Expand Down

0 comments on commit 7d8615e

Please sign in to comment.