mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[test] Fix CI failure in bad stdlib test
https://github.com/apple/swift/pull/36928 changed the error message while https://github.com/apple/swift/pull/36594 added a test case looking for the old error message. Update the test to look for the non-dynamic substring of the new error message.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// swift-module-flags: -target x86_64-apple-macos10.9 -module-name Swift -parse-stdlib
|
||||
|
||||
// If the test fails, this error will be emitted twice, not once.
|
||||
// expected-error@-4 {{failed to build module 'Swift' for importation due to the errors above}}
|
||||
// expected-error@-4 {{failed to build module 'Swift'; this SDK is not supported by the compiler}}
|
||||
|
||||
public struct BadType {
|
||||
public var property: UndeclaredType { get set } // expected-error {{cannot find type 'UndeclaredType' in scope}}
|
||||
|
||||
Reference in New Issue
Block a user