Skip to content

Commit b1e61c1

Browse files
Merge pull request #9097 from felipepiovezan/felipe/update_rebranch_tests
Update tests to account for new diagnostics syntax
2 parents 6cdfaa7 + 2a265ba commit b1e61c1

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

lldb/test/Shell/SwiftREPL/DiagnosticOptions.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111

1212
_ = "An unterminated string
13-
// DIAGNOSTIC: error: unterminated string literal [lex_unterminated_string]{{$}}
14-
// LOCALIZED: error: chaîne non terminée littérale{{$}}
13+
// DIAGNOSTIC: unterminated string literal [lex_unterminated_string]{{$}}
14+
// LOCALIZED: chaîne non terminée littérale{{$}}
1515
:quit
1616

1717

lldb/test/Shell/SwiftREPL/ImportError.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
// RUN: %lldb --repl < %s 2>&1 | FileCheck %s
55

66
import ModuleThatDoesNotExist
7-
// CHECK: error: no such module 'ModuleThatDoesNotExist'
7+
// CHECK: no such module 'ModuleThatDoesNotExist'
88
// CHECK-NOT: fixed expression suggested

lldb/test/Shell/SwiftREPL/LookupAfterImport.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// RUN: %lldb --repl="-I%t -L%t -lA" < %s 2>&1 | FileCheck %s
99

1010
"".foo()
11-
// CHECK: error: value of type 'String' has no member 'foo'
11+
// CHECK: value of type 'String' has no member 'foo'
1212

1313
import A
1414

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: error: repl.swift:{{.*}}: error: cannot find 'Foo' in scope
18+
// CHECK: repl.swift:{{.*}}: error: cannot find 'Foo' in scope
1919

2020
@testable import Test
2121

lldb/test/Shell/SwiftREPL/OpenClass.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ class Baz: Foo {
2626
override func foo() -> Int { return 4 }
2727
}
2828

29-
// CHECK: error: overriding non-open instance method outside of its defining module
29+
// CHECK: overriding non-open instance method outside of its defining module

lldb/test/Shell/SwiftREPL/PropertyWrapperTopLevel.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@
3434

3535
@A var anA: Int = 1
3636

37-
// CHECK: error: property wrappers are not yet supported in top-level code
37+
// CHECK: property wrappers are not yet supported in top-level code
3838
// CHECK-NEXT: @A var anA: Int = 1

0 commit comments

Comments
 (0)