diff options
Diffstat (limited to 'hotline/file_name_with_info_test.go')
| -rw-r--r-- | hotline/file_name_with_info_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hotline/file_name_with_info_test.go b/hotline/file_name_with_info_test.go index d1b03c2..5095acf 100644 --- a/hotline/file_name_with_info_test.go +++ b/hotline/file_name_with_info_test.go @@ -3,7 +3,6 @@ package hotline import ( "github.com/stretchr/testify/assert" "io" - "reflect" "testing" ) @@ -54,7 +53,7 @@ func TestFileNameWithInfo_MarshalBinary(t *testing.T) { t.Errorf("MarshalBinary() error = %v, wantErr %v", err, tt.wantErr) return } - if !reflect.DeepEqual(gotData, tt.wantData) { + if !assert.Equal(t, tt.wantData, gotData) { t.Errorf("MarshalBinary() gotData = %v, want %v", gotData, tt.wantData) } }) |