Merge branch 'master' into tracing/v1.1
This commit is contained in:
commit
b37f2aca85
|
@ -18,7 +18,6 @@ package vm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"fmt"
|
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
@ -95,7 +94,6 @@ func TestEOFSubcontainer(t *testing.T) {
|
||||||
if err := got.UnmarshalBinary(b, true); err != nil {
|
if err := got.UnmarshalBinary(b, true); err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
fmt.Print(got)
|
|
||||||
if res := got.MarshalBinary(); !reflect.DeepEqual(res, b) {
|
if res := got.MarshalBinary(); !reflect.DeepEqual(res, b) {
|
||||||
t.Fatalf("invalid marshalling, want %v got %v", b, res)
|
t.Fatalf("invalid marshalling, want %v got %v", b, res)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue