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