[lldb][NFC] Give added test method a unique name
authorRaphael Isemann <teemperor@gmail.com>
Tue, 27 Aug 2019 11:43:54 +0000 (11:43 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Tue, 27 Aug 2019 11:43:54 +0000 (11:43 +0000)
Otherwise dotest doesn't run the test and just lets it always pass.
Also update the comment to explain that we do directory and not
file completion.

llvm-svn: 370047

lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py

index 0b5b3a416a0381cd952e21f771ac4826d8b876da..2df341e572d04e198730f3acf2b202a0c0b92f4c 100644 (file)
@@ -138,8 +138,8 @@ class CommandLineCompletionTestCase(TestBase):
                               ['main.cpp'])
 
     @skipIfFreeBSD  # timing out on the FreeBSD buildbot
-    def test_log_file(self):
-        # Complete in our source directory which contains a 'main.cpp' file.
+    def test_log_dir(self):
+        # Complete our source directory.
         src_dir =  os.path.dirname(os.path.realpath(__file__))
         self.complete_from_to('log enable lldb expr -f ' + src_dir,
                               [src_dir + "/"])