summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/expression_command/issue_11588/Test11588.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/expression_command/issue_11588/Test11588.py b/lldb/test/expression_command/issue_11588/Test11588.py
index 59393bb93a7..9512701eddd 100644
--- a/lldb/test/expression_command/issue_11588/Test11588.py
+++ b/lldb/test/expression_command/issue_11588/Test11588.py
@@ -59,13 +59,13 @@ class Issue11581TestCase(TestBase):
addr = addr - 1
self.runCmd("register write r14 %d" % addr)
self.expect("register read r14",
- substrs = ["0x",hex(addr)[2:]])
+ substrs = ["0x",hex(addr)[2:].rstrip("L")]) # Remove trailing 'L' if it exists
self.expect("print *(StgClosure*)$r14",
substrs = ["(StgClosure) $",
"(StgClosure *) &$","0x",
"(long) addr = ",
"(long) load_address = ",
- hex(addr)[2:],
+ hex(addr)[2:].rstrip("L"),
str(addr)])
OpenPOWER on IntegriCloud