Skip to content

Commit 0d1fece

Browse files
Merge pull request swiftlang#9224 from felipepiovezan/felipe/erro_msg_tests
[lldb] Update text error messages
2 parents bd0ba63 + 6dd7205 commit 0d1fece

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/test/API/lang/swift/playgrounds-repl/invalid_input/TestInvalidInput.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def do_test(self):
4747
self.assertTrue(is_error)
4848
error = self.get_stream_data(result)
4949
self.assertIn("left side of mutating operator", error, "Error messages do not match")
50-
self.assertIn(":15:3: error: left side of mutating operator", error, "Error line number does not match")
50+
self.assertIn(":15:3: left side of mutating operator", error, "Error line number does not match")
5151

5252
# Execute revised block
5353
result, output = self.execute_code("Input3.swift")

lldb/test/Shell/SwiftREPL/LookupWithAttributedImport.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let y = Bar(baz: 123)
1515
// CHECK: baz = 123
1616

1717
let x = Foo(bar:42)
18-
// CHECK: repl.swift:{{.*}}: error: cannot find 'Foo' in scope
18+
// CHECK: repl.swift:{{.*}}: cannot find 'Foo' in scope
1919

2020
@testable import Test
2121

0 commit comments

Comments
 (0)