diff options
author | Raphael Isemann <teemperor@gmail.com> | 2019-09-03 09:19:51 +0000 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2019-09-03 09:19:51 +0000 |
commit | e76113347de7c3cc8e9331d9dbec1a3b478655ed (patch) | |
tree | 7a30e576989b07c2e2e87c06d30bd09d6b886ac0 /lldb/packages/Python/lldbsuite/test/commands/command/nested_alias | |
parent | 7a65f5ebee3fd89d195a4051d349a6ce2d2df21e (diff) | |
download | bcm5719-llvm-e76113347de7c3cc8e9331d9dbec1a3b478655ed.tar.gz bcm5719-llvm-e76113347de7c3cc8e9331d9dbec1a3b478655ed.zip |
[lldb][NFC] Also test unaliasing in nested_alias test
llvm-svn: 370717
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/command/nested_alias')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py | 9 |
1 files changed, 9 insertions, 0 deletions
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 37c56f6d216..1a7b01ab260 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) |