]> Cypherpunks repositories - gostls13.git/commitdiff
replaced baked-in address with @ so test passes on linux
authorRob Pike <r@golang.org>
Sat, 25 Oct 2008 04:02:51 +0000 (21:02 -0700)
committerRob Pike <r@golang.org>
Sat, 25 Oct 2008 04:02:51 +0000 (21:02 -0700)
R=rsc
OCL=17841
CL=17841

src/lib/reflect/test.go

index 615dda8902c22f0bc82f493af364c66918052935..d899929fe9dee07fd6c55619fd6c4d0c0b0c38d9 100644 (file)
@@ -149,7 +149,7 @@ func main() {
                var i int = 7;
                var tmp = &T{123, 456.0, "hello", &i};
                value := reflect.NewValue(tmp);
-               assert(reflect.ValueToString(value.(reflect.PtrValue).Sub()), "main.T{123, +4.560000e+02, hello, *int32(134980)}");
+               assert(reflect.ValueToString(value.(reflect.PtrValue).Sub()), "main.T{123, +4.560000e+02, hello, *int32(@)}");
        }
        {
                type C chan *T; // TODO: should not be necessary