1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-04 12:52:28 +08:00

fix: fix failed unit test

This commit is contained in:
dudaodong
2023-12-11 15:45:02 +08:00
parent 96320069f4
commit 0b976e9a4c
4 changed files with 6 additions and 14 deletions

View File

@@ -27,7 +27,7 @@ func TestCreateFile(t *testing.T) {
assert := internal.NewAssert(t, "TestCreateFile")
f := "./text.txt"
f := "./testdata/text.txt"
if CreateFile(f) {
file, err := os.Open(f)
assert.IsNil(err)