summaryrefslogtreecommitdiffstats
path: root/libgo/go/encoding/hex/hex_test.go
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-29 20:52:43 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-29 20:52:43 +0000
commit12ebd6294172cc1108bbadab78fea03e890a6da4 (patch)
tree4f2fad1f4b778519bdd5941185c7e1d032af055b /libgo/go/encoding/hex/hex_test.go
parent6effa4dc115122a3a4838de0a302dfcadcefeeca (diff)
downloadppe42-gcc-12ebd6294172cc1108bbadab78fea03e890a6da4.tar.gz
ppe42-gcc-12ebd6294172cc1108bbadab78fea03e890a6da4.zip
libgo: Update Go library to master revision 15489/921e53d4863c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195560 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go/encoding/hex/hex_test.go')
-rw-r--r--libgo/go/encoding/hex/hex_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/encoding/hex/hex_test.go b/libgo/go/encoding/hex/hex_test.go
index 456f9eac724..356f590f027 100644
--- a/libgo/go/encoding/hex/hex_test.go
+++ b/libgo/go/encoding/hex/hex_test.go
@@ -65,7 +65,7 @@ func TestDecodeString(t *testing.T) {
t.Errorf("#%d: unexpected err value: %s", i, err)
continue
}
- if bytes.Compare(dst, test.dec) != 0 {
+ if !bytes.Equal(dst, test.dec) {
t.Errorf("#%d: got: %#v want: #%v", i, dst, test.dec)
}
}
OpenPOWER on IntegriCloud