Skip to content

Commit

Permalink
fix: ExampleListFileNames
Browse files Browse the repository at this point in the history
  • Loading branch information
duke-git committed Apr 17, 2023
1 parent 3b8dd94 commit 975c303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fileutil/file_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ func ExampleReadFileByLine() {
}

func ExampleListFileNames() {
fileList, _ := ListFileNames("../formatter/")
fileList, _ := ListFileNames("./")
fmt.Println(fileList)

// Output:
// [formatter.go formatter_example_test.go formatter_test.go]
// [file.go file_example_test.go file_test.go]
}

func ExampleZip() {
Expand Down

0 comments on commit 975c303

Please sign in to comment.