Skip to content

Commit

Permalink
Remove useless trailing whitespace from several test.py files.
Browse files Browse the repository at this point in the history
  • Loading branch information
s3rvac committed Mar 17, 2018
1 parent c81f26e commit 97dbc34
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bugs/bin2llvmir-idiom-analysis-segfault/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Test(Test):
input='libf021.so',
args='--select-functions __gnu_satfractqidq --select-decode-only'
)

def test_c_contains_only_selected_function(self):
assert self.out_c.has_just_funcs('__gnu_satfractqidq')

Expand Down
12 changes: 6 additions & 6 deletions bugs/selective-decompilation-strange-behaviour/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class TestDecompileSelect0x1DecodeAll(TestBase):
settings = CriticalTestSettings.from_settings(base_settings,
args = '--select-ranges 0x0-0x1'
)

class TestBaseDecodeOnly(Test):
def test_decompilation_fails_with_correct_error_message(self):
self.assertNotEqual(self.decompiler.return_code, 0)
Expand All @@ -32,22 +32,22 @@ class TestDecompileSelectXxxDecodeOnly(TestBaseDecodeOnly):
settings = CriticalTestSettings.from_settings(base_settings,
args = '--select-functions xxx --select-decode-only'
)

def setUp(self):
pass

class TestDecompileSelect0x0DecodeOnly(TestBaseDecodeOnly):
settings = CriticalTestSettings.from_settings(base_settings,
args = '--select-ranges 0x0-0x0 --select-decode-only'
)

def setUp(self):
pass

class TestDecompileSelect0x1DecodeOnly(TestBaseDecodeOnly):
settings = CriticalTestSettings.from_settings(base_settings,
args = '--select-ranges 0x0-0x1 --select-decode-only'
)

def setUp(self):
pass
2 changes: 1 addition & 1 deletion features/bytecode-detection/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Test(Test):
# to detect the presence of a warning after fileinfo is run.
args='--select-ranges 0x0-0x1 --select-decode-only'
)

def setUp(self):
pass

Expand Down
2 changes: 1 addition & 1 deletion features/invalid-entrypoint-decompilation/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_contains_functions(self):
assert self.decompiler.succeeded
assert self.out_c.has_funcs('binit', 'balloc', 'dirlookup', 'kalloc',
'kfree', 'scheduler', 'sys_fork')

class TestApplication(Test):
settings=TestSettings(
input='application.axf'
Expand Down

0 comments on commit 97dbc34

Please sign in to comment.