diff options
Diffstat (limited to 'hotline/file_path_test.go')
| -rw-r--r-- | hotline/file_path_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hotline/file_path_test.go b/hotline/file_path_test.go index effd462..23c9a96 100644 --- a/hotline/file_path_test.go +++ b/hotline/file_path_test.go @@ -154,13 +154,13 @@ func Test_readPath(t *testing.T) { } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - got, err := readPath(tt.args.fileRoot, tt.args.filePath, tt.args.fileName) + got, err := ReadPath(tt.args.fileRoot, tt.args.filePath, tt.args.fileName) if (err != nil) != tt.wantErr { - t.Errorf("readPath() error = %v, wantErr %v", err, tt.wantErr) + t.Errorf("ReadPath() error = %v, wantErr %v", err, tt.wantErr) return } if got != tt.want { - t.Errorf("readPath() got = %v, want %v", got, tt.want) + t.Errorf("ReadPath() got = %v, want %v", got, tt.want) } }) } |