We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66ea3d4 + a2f55fd commit 54fd2f1Copy full SHA for 54fd2f1
lldb/test/API/lang/swift/po/uninitialized/main.swift
@@ -15,7 +15,7 @@ class POClass {
15
16
func main() {
17
var object: POClass
18
- object = POClass() //% self.assertTrue(self.frame().FindVariable('object').GetObjectDescription() == 'error: <uninitialized>', 'po correctly detects uninitialized instances')
+ object = POClass() //% self.assertEqual(self.frame().FindVariable('object').GetObjectDescription(), None, 'po correctly detects uninitialized instances'); self.expect("po object", substrs=["<uninitialized>"])
19
print("yay I am done") //% self.assertTrue('POClass:' in self.frame().FindVariable('object').GetObjectDescription())
20
}
21
0 commit comments