X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/7e6b49e4d6bf07cbd0df374460c92c1d88be0599..0ee4d86eeffe9c72dffd9e92cb33b27c8950940f:/hotline/file_path_test.go 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) } }) }