summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-09-27 08:49:41 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-09-27 08:49:41 +0000
commit2096518d587b9eb35218279e08822ed57f0ab9c7 (patch)
treedc93d21a25aea20e8b50a8f0669a0a8f3e8eed12 /lldb/packages/Python/lldbsuite
parentc006b6f4cb802310dcece066e324091e80d080a4 (diff)
downloadbcm5719-llvm-2096518d587b9eb35218279e08822ed57f0ab9c7.tar.gz
bcm5719-llvm-2096518d587b9eb35218279e08822ed57f0ab9c7.zip
[lldb] Print an error message for an empty subcommand
llvm-svn: 373053
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/multiword-commands/TestMultiWordCommands.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/multiword-commands/TestMultiWordCommands.py b/lldb/packages/Python/lldbsuite/test/functionalities/multiword-commands/TestMultiWordCommands.py
index 12d572586c4..80b144f58d5 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/multiword-commands/TestMultiWordCommands.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/multiword-commands/TestMultiWordCommands.py
@@ -20,8 +20,7 @@ class MultiwordCommandsTestCase(TestBase):
@no_debug_info_test
def test_empty_subcommand(self):
- # FIXME: This has no error message.
- self.expect("platform \"\"", error=True)
+ self.expect("platform \"\"", error=True, substrs=["Need to specify a non-empty subcommand."])
@no_debug_info_test
def test_help(self):
OpenPOWER on IntegriCloud