aboutsummaryrefslogtreecommitdiff
path: root/hotline/file_name_with_info_test.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2022-06-28 20:44:19 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2022-06-28 20:44:19 -0700
commit8fc43f8e53a60144f49b92a0c28b0c939a69d1c9 (patch)
tree8044e11dcf76b358d911ccdf87ef35e076d1241b /hotline/file_name_with_info_test.go
parent2c8d7b4ab52411dc595df2f64f6058645f2b4f1b (diff)
Implement Scanner and Writer interface for FilePath
Diffstat (limited to 'hotline/file_name_with_info_test.go')
-rw-r--r--hotline/file_name_with_info_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/hotline/file_name_with_info_test.go b/hotline/file_name_with_info_test.go
index 3ca2c30..1637a64 100644
--- a/hotline/file_name_with_info_test.go
+++ b/hotline/file_name_with_info_test.go
@@ -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
+}