t.Run(tt.name, func(t *testing.T) {
f := &FileNameWithInfo{
fileNameWithInfoHeader: tt.fields.fileNameWithInfoHeader,
t.Run(tt.name, func(t *testing.T) {
f := &FileNameWithInfo{
fileNameWithInfoHeader: tt.fields.fileNameWithInfoHeader,
if (err != nil) != tt.wantErr {
t.Errorf("MarshalBinary() error = %v, wantErr %v", err, tt.wantErr)
return
if (err != nil) != tt.wantErr {
t.Errorf("MarshalBinary() error = %v, wantErr %v", err, tt.wantErr)
return
NameScript: [2]byte{0, 0},
NameSize: [2]byte{0x00, 0x0e},
},
NameScript: [2]byte{0, 0},
NameSize: [2]byte{0x00, 0x0e},
},
t.Run(tt.name, func(t *testing.T) {
f := &FileNameWithInfo{
fileNameWithInfoHeader: tt.fields.fileNameWithInfoHeader,
t.Run(tt.name, func(t *testing.T) {
f := &FileNameWithInfo{
fileNameWithInfoHeader: tt.fields.fileNameWithInfoHeader,
t.Errorf("Write() error = %v, wantErr %v", err, tt.wantErr)
}
if !assert.Equal(t, tt.want, f) {
t.Errorf("Write() error = %v, wantErr %v", err, tt.wantErr)
}
if !assert.Equal(t, tt.want, f) {