Skip to content

Commit effc745

Browse files
committed
[Macros] Update a test case for ABI name changes
JSON decoder's error message include the ABI name specified by '-module-abi-name'.
1 parent b2ce1b9 commit effc745

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Macros/macro_plugin_error.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@
3232

3333
func test() {
3434
// FIXME: Should be more user friendly message.
35+
// FIXME: -module-abi-name ABI name is leaking.
3536

3637
let _: String = #fooMacro(1)
37-
// expected-error @-1 {{typeMismatch(SwiftCompilerPluginMessageHandling.PluginToHostMessage}}
38+
// expected-error @-1 {{typeMismatch(CompilerSwiftCompilerPluginMessageHandling.PluginToHostMessage}}
3839
let _: String = #fooMacro(2)
3940
// expected-error @-1 {{failed to receive result from plugin (from macro 'fooMacro')}}
4041
let _: String = #fooMacro(3)

0 commit comments

Comments
 (0)