Skip to content

Commit e539b61

Browse files
committed
fixup! fix tests
1 parent f931c0d commit e539b61

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

lldb/test/API/lang/cpp/expression-context-qualifiers/const_method/TestExprInConstMethod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test(self):
4444

4545
# Test --cpp-ignore-context-qualifiers via SBExpressionOptions.
4646
options = lldb.SBExpressionOptions()
47-
options.SetBooleanLanguageOption("cpp-ignore-context-qualifiers")
47+
options.SetBooleanLanguageOption("cpp-ignore-context-qualifiers", True)
4848
self.expect_expr("m_mem = -2.0; m_mem", options=options, result_value="-2")
4949

5050
self.expect_expr("((Foo*)this)->bar()", result_type="double", result_value="5")

lldb/test/API/lang/cpp/expression-context-qualifiers/const_volatile_method/TestExprInConstVolatileMethod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test(self):
2121
)
2222

2323
options = lldb.SBExpressionOptions()
24-
options.SetBooleanLanguageOption("cpp-ignore-context-qualifiers")
24+
options.SetBooleanLanguageOption("cpp-ignore-context-qualifiers", True)
2525
options.SetIgnoreBreakpoints(True)
2626
self.expect_expr("volatile_method()", options=options)
2727
self.expect(

lldb/test/API/lang/cpp/expression-context-qualifiers/non_const_method/TestExprInNonConstMethod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test(self):
3737
)
3838

3939
options = lldb.SBExpressionOptions()
40-
options.SetBooleanLanguageOption("cpp-ignore-context-qualifiers")
40+
options.SetBooleanLanguageOption("cpp-ignore-context-qualifiers", True)
4141
self.expect_expr("x = 6.0; x", options=options, result_value="6")
4242

4343
lldbutil.continue_to_source_breakpoint(

lldb/test/API/lang/cpp/expression-context-qualifiers/template_const_method/TestExprInTemplateConstMethod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test(self):
3030
self.expect_expr("((Foo*)this)->bar()", result_type="double", result_value="5")
3131

3232
options = lldb.SBExpressionOptions()
33-
options.SetBooleanLanguageOption("cpp-ignore-context-qualifiers")
33+
options.SetBooleanLanguageOption("cpp-ignore-context-qualifiers", True)
3434
self.expect_expr("m_mem = -2.0; m_mem", options=options, result_value="-2")
3535

3636
lldbutil.continue_to_source_breakpoint(

lldb/test/API/lang/cpp/expression-context-qualifiers/template_non_const_method/TestExprInTemplateNonConstMethod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test(self):
3737
)
3838

3939
options = lldb.SBExpressionOptions()
40-
options.SetBooleanLanguageOption("cpp-ignore-context-qualifiers")
40+
options.SetBooleanLanguageOption("cpp-ignore-context-qualifiers", True)
4141
self.expect_expr("x = 6.0; x", options=options, result_value="6")
4242

4343
lldbutil.continue_to_source_breakpoint(

0 commit comments

Comments
 (0)