From 5c5df21e3d8768481c2bc1b6e9475099590e10be Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Tue, 11 Nov 2014 20:05:27 +0100 Subject: [PATCH] Update TestDeleteFromByteSlice Still broken --- ethutil/bytes_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ethutil/bytes_test.go b/ethutil/bytes_test.go index d65336631..179a8c7ef 100644 --- a/ethutil/bytes_test.go +++ b/ethutil/bytes_test.go @@ -23,9 +23,8 @@ func (s *BytesSuite) TestDeleteFromByteSlice(c *checker.C) { slice := []byte{1, 2, 3, 4} exp := []byte{1, 4} res := DeleteFromByteSlice(data, slice) - if bytes.Compare(res, exp) != 0 { - t.Errorf("Expected % x Got % x", exp, res) - } + + c.Assert(res, checker.DeepEquals, exp) } */