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

fix: fix bug in file test

This commit is contained in:
dudaodong
2023-01-08 20:25:11 +08:00
parent bc0ee08f38
commit 936011dc3b
2 changed files with 12 additions and 12 deletions

View File

@@ -175,11 +175,11 @@ func ExampleReadFileByLine() {
}
func ExampleListFileNames() {
fileList, _ := ListFileNames("./")
fileList, _ := ListFileNames("../formatter/")
fmt.Println(fileList)
// Output:
// [file.go file_example_test.go file_test.go]
// [formatter.go formatter_example_test.go formatter_test.go]
}
func ExampleZip() {