diff options
Diffstat (limited to 'test/closure.go')
-rw-r--r-- | test/closure.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/closure.go b/test/closure.go index 97361a1df..1bd0ef202 100644 --- a/test/closure.go +++ b/test/closure.go @@ -76,13 +76,13 @@ func h() { func main() { go f(); - check([]int{1,4,5,4}); + check([]int(1,4,5,4)); a := accum(0); b := accum(1); go g(a, b); - check([]int{2,4,6,9}); + check([]int(2,4,6,9)); go h(); - check([]int{100,200,101,201,500,101,201,500}); + check([]int(100,200,101,201,500,101,201,500)); } |