Skip to content

Commit 92dbfac

Browse files
committed
fixup! adjust test assertion
1 parent 3a0c69d commit 92dbfac

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Test lldb data formatter subsystem.
33
"""
44

5-
65
import lldb
76
from lldbsuite.test.decorators import *
87
from lldbsuite.test.lldbtest import *
@@ -48,5 +47,7 @@ def test_with_run_command(self):
4847
self.expect("frame variable ssp", substrs=["ssp = nullptr"])
4948

5049
self.expect("frame variable nwp", substrs=["nwp = nullptr"])
51-
self.expect("frame variable iwp", substrs=["iwp = nullptr"])
52-
self.expect("frame variable swp", substrs=["swp = nullptr"])
50+
51+
# FIXME: these weak_ptr's should also be reset to nullptr.
52+
self.expect("frame variable iwp", substrs=["iwp = ", "strong=0 weak=1"])
53+
self.expect("frame variable swp", substrs=["swp = ", "strong=0 weak=1"])

0 commit comments

Comments
 (0)