diff --git a/test/testOutput.py b/test/testOutput.py index 026e375..13d1056 100644 --- a/test/testOutput.py +++ b/test/testOutput.py @@ -53,7 +53,7 @@ def test_print_result_short(self): option.short = True fileStat = FileInformation("FILENAME", 1, [self.foo]) result = print_result_with_scheme([fileStat], option) - self.assertNotEqual(" 1 16 1 0 1 foo@100-100@FILENAME", sys.stdout.stream.splitlines()[1]) + self.assertIn("cyclomatic_complexity > 15", sys.stdout.stream.splitlines()[1]) class Ext(object):