From 9690ac05c92a154b5d2ca7078d3bf6f4c7eb6c57 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 12 Jun 2012 20:33:22 +0000 Subject: compiler, reflect: Handle package path like gc compiler. From-SVN: r188482 --- libgo/go/encoding/xml/marshal_test.go | 2 +- libgo/go/html/template/escape_test.go | 2 +- libgo/go/reflect/type.go | 24 ++++++++++++++++++++++-- 3 files changed, 24 insertions(+), 4 deletions(-) (limited to 'libgo') diff --git a/libgo/go/encoding/xml/marshal_test.go b/libgo/go/encoding/xml/marshal_test.go index 6f0ecfc..b6978a1 100644 --- a/libgo/go/encoding/xml/marshal_test.go +++ b/libgo/go/encoding/xml/marshal_test.go @@ -726,7 +726,7 @@ var marshalErrorTests = []struct { }, { Value: map[*Ship]bool{nil: false}, - Err: "xml: unsupported type: map[*encoding/xml.Ship]bool", + Err: "xml: unsupported type: map[*xml.Ship]bool", Kind: reflect.Map, }, { diff --git a/libgo/go/html/template/escape_test.go b/libgo/go/html/template/escape_test.go index 6670be9..ce12c17 100644 --- a/libgo/go/html/template/escape_test.go +++ b/libgo/go/html/template/escape_test.go @@ -226,7 +226,7 @@ func TestEscape(t *testing.T) { { "badMarshaler", `