Skip to content

Commit

Permalink
Fix typo, emtpy -> empty
Browse files Browse the repository at this point in the history
  • Loading branch information
kianmeng committed Aug 7, 2022
1 parent 046e225 commit 8307bbf
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 8307bbf

Please sign in to comment.