diff options
author | Raphael Isemann <teemperor@gmail.com> | 2018-07-27 22:20:59 +0000 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2018-07-27 22:20:59 +0000 |
commit | 23d7a9ebbe6fd815af1f7263197df701c784d012 (patch) | |
tree | ed8a6ae69d8b73c259a189fb06812320fcf7e56b /lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py | |
parent | 05141f1f2d0fcf3aac6412b7193ab7c482c9f952 (diff) | |
download | bcm5719-llvm-23d7a9ebbe6fd815af1f7263197df701c784d012.tar.gz bcm5719-llvm-23d7a9ebbe6fd815af1f7263197df701c784d012.zip |
Fix whitespace in the python test suite.
Summary:
The test suite has often unnecessary trailing whitespace, and sometimes
unnecessary trailing lines or a missing final new line. This patch just strips
trailing whitespace/lines and adds missing newlines at the end.
Subscribers: ki.stfu, JDevlieghere, christof, lldb-commits
Differential Revision: https://reviews.llvm.org/D49943
llvm-svn: 338171
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py b/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py index a3b23834ee1..4f6a073a44c 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py @@ -261,7 +261,7 @@ class CommandLineCompletionTestCase(TestBase): common_match = match_strings.GetStringAtIndex(0) if num_matches == 0: compare_string = str_input - else: + else: if common_match != None and len(common_match) > 0: compare_string = str_input + common_match else: |