Skip to content

Commit

Permalink
Improve test for --short option
Browse files Browse the repository at this point in the history
  • Loading branch information
bzgec committed May 22, 2023
1 parent 02da78e commit 26939c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 26939c2

Please sign in to comment.