summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/expression_command/persistent_variables/TestPersistentVariables.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py b/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py
index b1ff042f2d2..47d1631d7c2 100644
--- a/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py
+++ b/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py
@@ -34,8 +34,12 @@ class PersistentVariablesTestCase(TestBase):
# (int) $2 = 14
self.expect("expression $2",
- startstr = "(int) $3 = 14")
- # (int) $3 = 14
+ startstr = "(int) $2 = 14")
+ # (int) $2 = 14
+
+ self.expect("expression $1",
+ startstr = "(int) $1 = 8")
+ # (int) $1 = 8
if __name__ == '__main__':
OpenPOWER on IntegriCloud