From e76113347de7c3cc8e9331d9dbec1a3b478655ed Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Tue, 3 Sep 2019 09:19:51 +0000 Subject: [PATCH] [lldb][NFC] Also test unaliasing in nested_alias test llvm-svn: 370717 --- .../test/commands/command/nested_alias/TestNestedAlias.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lldb/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py b/lldb/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py index 37c56f6..1a7b01a 100644 --- a/lldb/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py +++ b/lldb/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py @@ -88,3 +88,12 @@ class NestedAliasTestCase(TestBase): 'Show variables for the current', 'stack frame.'], matching=True) + + # Check that foself was resolved and is now independent of 'fo'. + self.runCmd('command unalias fo') + self.expect( + 'help foself', + substrs=[ + 'Show variables for the current', + 'stack frame.'], + matching=True) -- 2.7.4