Skip to content

Commit

Permalink
Remove useless trailing whitespace
Browse files Browse the repository at this point in the history
There is absolutely no reason for it being in the code.
  • Loading branch information
s3rvac committed Feb 18, 2022
1 parent 37bb27d commit cb21b64
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions features/output-format/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Test_plain(Test):
input='ack.x64.gcc.O0.g.exe',
args='--output-format=plain'
)

def test_produce_expected_output(self):
assert self.out_c.contains('int main\(int argc, char \*\* argv\)')

Expand All @@ -14,7 +14,7 @@ class Test_json(Test):
input='ack.x64.gcc.O0.g.exe',
args='--output-format=json'
)

def test_produce_expected_output(self):
assert self.out_c.contains('{"kind":"i_fnc","val":"main"}')

Expand All @@ -23,7 +23,7 @@ class Test_json_human(Test):
input='ack.x64.gcc.O0.g.exe',
args='--output-format=json-human'
)

def test_produce_expected_output(self):
assert self.out_c.contains('"kind": "i_fnc"')
assert self.out_c.contains('"val": "main"')
Expand All @@ -33,12 +33,12 @@ class Test_json_bad(Test):
input='ack.x64.gcc.O0.g.exe',
args='--output-format=bad_format'
)

def setUp(self):
# Prevent the base class from checking that the decompilation
# succeeded (we expect it to fail).
pass

def test_decompilation_fails_with_correct_error_message(self):
self.assertNotEqual(self.decompiler.return_code, 0)
assert self.decompiler.log.contains('Error: \[-f|--output-format\] unknown output format: bad_format')

0 comments on commit cb21b64

Please sign in to comment.