1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-09 23:22:28 +08:00

test: remove unstable test item

This commit is contained in:
dudaodong
2023-04-26 18:14:27 +08:00
parent 42ec189995
commit 99cb1b13a3
4 changed files with 23 additions and 21 deletions

View File

@@ -247,16 +247,16 @@ func ExampleFileSize() {
// <nil>
}
func ExampleMTime() {
mtime, err := MTime("./testdata/test.txt")
// func ExampleMTime() {
// mtime, err := MTime("./testdata/test.txt")
fmt.Println(mtime)
fmt.Println(err)
// fmt.Println(mtime) // 1682478195 (unix timestamp)
// fmt.Println(err)
// Output:
// 1682478195
// <nil>
}
// // Output:
// // 1682478195
// // <nil>
// }
func ExampleSha() {
sha1, err := Sha("./testdata/test.txt", 1)