Skip to content

Commit 8cbf953

Browse files
committed
test case fix
1 parent 785ceb5 commit 8cbf953

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

filepath_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"io/ioutil"
99
"os"
1010
"runtime"
11+
"strings"
1112
"testing"
1213

1314
"aahframework.org/test/assert"
@@ -199,7 +200,7 @@ func TestCopyDir(t *testing.T) {
199200
assert.NotNil(t, err)
200201

201202
err = CopyDir(tmpDir, testdataPath, Excludes{})
202-
assert.NotNil(t, err)
203+
assert.True(t, strings.HasPrefix(err.Error(), ""))
203204

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

0 commit comments

Comments
 (0)