Skip to content

Commit 6e36a05

Browse files
committed
[test] Fix CI failure in bad stdlib test
#36928 changed the error message while #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.
1 parent 282cbc3 commit 6e36a05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ModuleInterface/Inputs/BadStdlib.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// swift-module-flags: -target x86_64-apple-macos10.9 -module-name Swift -parse-stdlib
33

44
// If the test fails, this error will be emitted twice, not once.
5-
// expected-error@-4 {{failed to build module 'Swift' for importation due to the errors above}}
5+
// expected-error@-4 {{failed to build module 'Swift'; this SDK is not supported by the compiler}}
66

77
public struct BadType {
88
public var property: UndeclaredType { get set } // expected-error {{cannot find type 'UndeclaredType' in scope}}

0 commit comments

Comments
 (0)