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.
1 parent fbc2eaa commit 1f4f6bcCopy full SHA for 1f4f6bc
lldb/test/API/lang/swift/expression/mutable_persistent_var/TestSwiftMutablePersistentVar.py
@@ -4,11 +4,14 @@
4
import lldbsuite.test.lldbutil as lldbutil
5
6
7
-class TestCase(TestBase):
+class TestSwiftMutablePersistentVar(TestBase):
8
+ NO_DEBUG_INFO_TESTCASE = True
9
@swiftTest
10
def test(self):
11
"""Test that persistent variables are mutable."""
12
self.build()
13
lldbutil.run_to_name_breakpoint(self, "main")
14
self.expect("expr var $count = 30")
15
self.expect("expr $count = 41")
16
+ self.expect("expr $count += 1")
17
+ self.expect("expr $count", substrs=["42"])
0 commit comments