提交 34dbf326 编写于 作者: chai2010's avatar chai2010

bytes 测试代码微调

上级 28ba454b
......@@ -471,8 +471,7 @@ func TestSplit {
if tt.n < 0 {
//b := Split([]byte(tt.s), []byte(tt.sep))
//if !reflect.DeepEqual(a, b) {
assert(false)
//t.Errorf("Split disagrees withSplitN(%q, %q, %d) = %v; want %v", tt.s, tt.sep, tt.n, b, a)
// t.Errorf("Split disagrees withSplitN(%q, %q, %d) = %v; want %v", tt.s, tt.sep, tt.n, b, a)
//}
}
if len(a) > 0 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册