]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/file_name_with_info_test.go
More minor cleanup
[rbdr/mobius] / hotline / file_name_with_info_test.go
index 3ca2c3089131ba32fce2b8afca42b4d105a3b5d1..1637a64ce38c34a352ea0ee90dbad07e67cc506b 100644 (file)
@@ -72,7 +72,7 @@ func TestFileNameWithInfo_UnmarshalBinary(t *testing.T) {
                name    string
                fields  fields
                args    args
-               want *FileNameWithInfo
+               want    *FileNameWithInfo
                wantErr bool
        }{
                {
@@ -109,11 +109,11 @@ func TestFileNameWithInfo_UnmarshalBinary(t *testing.T) {
                                name:                   tt.fields.name,
                        }
                        if err := f.UnmarshalBinary(tt.args.data); (err != nil) != tt.wantErr {
-                               t.Errorf("UnmarshalBinary() error = %v, wantErr %v", err, tt.wantErr)
+                               t.Errorf("Write() error = %v, wantErr %v", err, tt.wantErr)
                        }
                        if !assert.Equal(t, tt.want, f) {
                                t.Errorf("Read() got = %v, want %v", f, tt.want)
                        }
                })
        }
-}
\ No newline at end of file
+}