Permalink
Browse files

consistent capitalisation across matchers

  • Loading branch information...
1 parent 0664b0c commit d3ec3a4b892a7533f31f9d32c02cfb036c48a7f2 @timbertson committed Mar 18, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 mocktest/matchers/collections.py
  2. +1 −1 mocktest/matchers/type_matcher.py
View
2 mocktest/matchers/collections.py
@@ -86,7 +86,7 @@ def matches(self, other):
return other in self.collection
def desc(self):
- return "An item from the collection: %r" % (self.collection,)
+ return "an item from the collection: %r" % (self.collection,)
object_containing = IncludeMatcher
dict_containing = DictIncludeMatcher
View
2 mocktest/matchers/type_matcher.py
@@ -31,7 +31,7 @@ def matches(self, other):
return isinstance(other, self.cls)
def desc(self):
- return "Any instance of %s" % (self.cls.__name__,)
+ return "any instance of %s" % (self.cls.__name__,)
class ObjectWithAttribute(Matcher):
def __init__(self, attr_name):

0 comments on commit d3ec3a4

Please sign in to comment.