Skip to content

Commit 1cb43c8

Browse files
committed
test case fix
1 parent 8cbf953 commit 1cb43c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filepath_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func TestCopyDir(t *testing.T) {
200200
assert.NotNil(t, err)
201201

202202
err = CopyDir(tmpDir, testdataPath, Excludes{})
203-
assert.True(t, strings.HasPrefix(err.Error(), ""))
203+
assert.True(t, strings.HasPrefix(err.Error(), "destination dir already exists"))
204204

205205
err = CopyDir(join(tmpDir, "target"), testdataPath, Excludes{"[]a]"})
206206
assert.NotNil(t, err)

0 commit comments

Comments
 (0)