projects
/
platform
/
upstream
/
gcc48.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 4.8.1
[platform/upstream/gcc48.git]
/
libgo
/
go
/
encoding
/
hex
/
hex_test.go
diff --git
a/libgo/go/encoding/hex/hex_test.go
b/libgo/go/encoding/hex/hex_test.go
index
456f9ea
..
356f590
100644
(file)
--- 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)
}
}