Commit 5c5df21e authored by Taylor Gerring's avatar Taylor Gerring

Update TestDeleteFromByteSlice

Still broken
parent 12e8404f
...@@ -23,9 +23,8 @@ func (s *BytesSuite) TestDeleteFromByteSlice(c *checker.C) { ...@@ -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)
}
} }
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment