forked from cerc-io/plugeth
Update TestDeleteFromByteSlice
Still broken
This commit is contained in:
parent
12e8404f8f
commit
5c5df21e3d
@ -23,9 +23,8 @@ func (s *BytesSuite) TestDeleteFromByteSlice(c *checker.C) {
|
|||||||
slice := []byte{1, 2, 3, 4}
|
slice := []byte{1, 2, 3, 4}
|
||||||
exp := []byte{1, 4}
|
exp := []byte{1, 4}
|
||||||
res := DeleteFromByteSlice(data, slice)
|
res := DeleteFromByteSlice(data, slice)
|
||||||
if bytes.Compare(res, exp) != 0 {
|
|
||||||
t.Errorf("Expected % x Got % x", exp, res)
|
c.Assert(res, checker.DeepEquals, exp)
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user