From 2096518d587b9eb35218279e08822ed57f0ab9c7 Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Fri, 27 Sep 2019 08:49:41 +0000 Subject: [lldb] Print an error message for an empty subcommand llvm-svn: 373053 --- .../test/functionalities/multiword-commands/TestMultiWordCommands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lldb/packages/Python') 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): -- cgit v1.2.3