aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue18231.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue18231.go')
-rw-r--r--test/fixedbugs/issue18231.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/issue18231.go b/test/fixedbugs/issue18231.go
index adfd2277ff..7747304052 100644
--- a/test/fixedbugs/issue18231.go
+++ b/test/fixedbugs/issue18231.go
@@ -14,7 +14,7 @@ type T struct {
}
var _ = T{
- f: { // ERROR "missing type in composite literal"
+ f: { // ERROR "missing type in composite literal|may only omit types within"
"a": "b",
},
}