[Test] Update expected macro error

https://github.com/apple/swift/pull/66497 and
https://github.com/apple/swift/pull/66482 succeeded separately, then
merged. But after 66497 the error now includes parentheses.

Resolves rdar://110655182.
This commit is contained in:
Ben Barham
2023-06-12 11:34:20 -07:00
parent ae2287dbb6
commit 1141e59b31

View File

@@ -21,7 +21,7 @@ func test(a: Int, b: Int) {
struct TestStruct {
@myWrapper var x: Int
// expected-error@-1{{expansion of macro 'myWrapper' did not produce a non-observing accessor}}
// expected-error@-1{{expansion of macro 'myWrapper()' did not produce a non-observing accessor}}
}
@ArbitraryMembers