diff options
author | Shenghou Ma <minux.ma@gmail.com> | 2012-12-14 02:19:33 +0800 |
---|---|---|
committer | Shenghou Ma <minux.ma@gmail.com> | 2012-12-14 02:19:33 +0800 |
commit | 4220db503468dd7751a676117b03829a9f683953 (patch) | |
tree | bfa7dd5e58dbc0f2dc7cdf74433f7de8a489415d /test/nil.go | |
parent | ef6a6011e1f2b82dbe52254aacff5462da18f259 (diff) | |
download | go-4220db503468dd7751a676117b03829a9f683953.tar.gz |
test/nil.go: delete on nil maps no longer panics
Fix the build.
R=golang-dev
CC=golang-dev
https://codereview.appspot.com/6946044
Diffstat (limited to 'test/nil.go')
-rw-r--r-- | test/nil.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/nil.go b/test/nil.go index 9f7bcbb59..6d90f5053 100644 --- a/test/nil.go +++ b/test/nil.go @@ -151,9 +151,6 @@ func maptest() { shouldPanic(func() { m[2] = 3 }) - shouldPanic(func() { - delete(m, 2) - }) } // nil slice |