aboutsummaryrefslogtreecommitdiff
path: root/test/assign.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/assign.go')
-rw-r--r--test/assign.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/assign.go b/test/assign.go
index 6611f8ce3e..62fd3b5be3 100644
--- a/test/assign.go
+++ b/test/assign.go
@@ -56,13 +56,13 @@ func main() {
{
var x = 1
{
- x, x := 2, 3 // ERROR "x repeated on left side of :="
+ x, x := 2, 3 // ERROR ".*x.* repeated on left side of :="
_ = x
}
_ = x
}
{
- a, a := 1, 2 // ERROR "a repeated on left side of :="
+ a, a := 1, 2 // ERROR ".*a.* repeated on left side of :="
_ = a
}
}