From 67be6232bbe5de8f3e60f0f494d8ae3b7d450eb6 Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Fri, 5 Mar 2021 12:03:34 +0100 Subject: [PATCH] Fix typo in NoneSubjectTest.testInvalidOperation No subject class possess a `ContainsNone` method. Test passed before because it expects a "no such method" error. --- truth/truth_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/truth/truth_test.py b/truth/truth_test.py index fd9bd80..bdde2ac 100644 --- a/truth/truth_test.py +++ b/truth/truth_test.py @@ -2225,7 +2225,7 @@ def testInvalidOperation(self): 'ContainsAnyIn': ((None,),), 'ContainsAnyOf': (None,), 'ContainsExactlyElementsIn': ((None,),), - 'ContainsNone': ((5,),), + 'ContainsNoneIn': ((5,),), 'ContainsNoneOf': (5,), 'IsOrdered': (), 'IsOrderedAccordingTo': (truth.Cmp,),