Skip to content

Commit 1f4f6bc

Browse files
committed
Improve TestSwiftMutablePersistentVar (NFC)
1 parent fbc2eaa commit 1f4f6bc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lldb/test/API/lang/swift/expression/mutable_persistent_var/TestSwiftMutablePersistentVar.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44
import lldbsuite.test.lldbutil as lldbutil
55

66

7-
class TestCase(TestBase):
7+
class TestSwiftMutablePersistentVar(TestBase):
8+
NO_DEBUG_INFO_TESTCASE = True
89
@swiftTest
910
def test(self):
1011
"""Test that persistent variables are mutable."""
1112
self.build()
1213
lldbutil.run_to_name_breakpoint(self, "main")
1314
self.expect("expr var $count = 30")
1415
self.expect("expr $count = 41")
16+
self.expect("expr $count += 1")
17+
self.expect("expr $count", substrs=["42"])

0 commit comments

Comments
 (0)