From abedd3c5bfe60b0cf1e5281b294b045d11f81138 Mon Sep 17 00:00:00 2001 From: jroam Date: Mon, 15 Apr 2019 15:30:44 +0800 Subject: [PATCH] edit test --- g/os/gfile/gfile_search_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/g/os/gfile/gfile_search_test.go b/g/os/gfile/gfile_search_test.go index 8971e03e3..45c5ad39b 100644 --- a/g/os/gfile/gfile_search_test.go +++ b/g/os/gfile/gfile_search_test.go @@ -42,9 +42,9 @@ func TestSearch(t *testing.T) { gtest.Assert(tpath2, tpath) //测试当前目录 - tpath2, err = Search(Testpath()+paths1, "testfiless") + tpath2, err = Search(paths1, "testfiless") tpath2 = filepath.ToSlash(tpath2) - tempss:=filepath.ToSlash(Testpath()+paths1) + tempss:=filepath.ToSlash(paths1) gtest.Assert(tpath2, tempss)