Skip to content

Commit 04e355e

Browse files
committed
[lldb] Try to fix TestExprDiagnostics test
1 parent cc7fc99 commit 04e355e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_source_and_caret_printing(self):
3333
self.assertIn(
3434
"""
3535
1 | unknown_identifier
36-
| ^
36+
| ^~~~~~~~~~~~~~~~~~
3737
""",
3838
value.GetError().GetCString(),
3939
)
@@ -45,7 +45,7 @@ def test_source_and_caret_printing(self):
4545
self.assertIn(
4646
"""
4747
1 | 1 + unknown_identifier
48-
| ^
48+
| ^~~~~~~~~~~~~~~~~~
4949
""",
5050
value.GetError().GetCString(),
5151
)
@@ -57,7 +57,7 @@ def test_source_and_caret_printing(self):
5757
self.assertIn(
5858
"""
5959
2 | foobar +=1;
60-
| ^
60+
| ^~~~~~
6161
""",
6262
value.GetError().GetCString(),
6363
)
@@ -74,7 +74,7 @@ def test_source_and_caret_printing(self):
7474
self.assertIn(
7575
"""
7676
1 | void foo(unknown_type x) {}
77-
| ^
77+
| ^~~~~~~~~~~~
7878
""",
7979
value.GetError().GetCString(),
8080
)

0 commit comments

Comments
 (0)