diff options
Diffstat (limited to 'test/assign.go')
-rw-r--r-- | test/assign.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/assign.go b/test/assign.go index a98b7b75a..9fe9ea079 100644 --- a/test/assign.go +++ b/test/assign.go @@ -16,18 +16,18 @@ type T struct { func main() { { var x, y sync.Mutex; - x = y; // ERROR "assignment.*Mutex" + x = y; // ERROR "assignment\[ -~\]*Mutex" } { var x, y T; - x = y; // ERROR "assignment.*Mutex" + x = y; // ERROR "assignment\[ -~\]*Mutex" } { var x, y [2]sync.Mutex; - x = y; // ERROR "assignment.*Mutex" + x = y; // ERROR "assignment\[ -~\]*Mutex" } { var x, y [2]T; - x = y; // ERROR "assignment.*Mutex" + x = y; // ERROR "assignment\[ -~\]*Mutex" } } |