update tests for CL 30586.
won't submit unless 30586 goes in.
R=r
DELTA=94 (65 added, 16 deleted, 13 changed)
OCL=30592
CL=30755
diff --git a/test/fixedbugs/bug143.go b/test/fixedbugs/bug143.go
index f600137..cb86310 100644
--- a/test/fixedbugs/bug143.go
+++ b/test/fixedbugs/bug143.go
@@ -8,9 +8,9 @@
type myMap map[string] int;
-func f() *myMap {
+func f() myMap {
m := make(map[string] int);
- return &m
+ return m
}
func main() {
@@ -24,9 +24,6 @@
x, ok := (*mp)["key"]
}
{
- x, ok := mp["key"]
- }
- {
x, ok := f()["key"]
}
{