[lldb][NFC] Also test unaliasing in nested_alias test
authorRaphael Isemann <teemperor@gmail.com>
Tue, 3 Sep 2019 09:19:51 +0000 (09:19 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Tue, 3 Sep 2019 09:19:51 +0000 (09:19 +0000)
llvm-svn: 370717

lldb/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py

index 37c56f6..1a7b01a 100644 (file)
@@ -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)