fix test fail

This commit is contained in:
tsingbx
2024-07-31 14:28:15 +08:00
parent 2d7958f726
commit f67b15b926
2 changed files with 5 additions and 3 deletions

View File

@@ -3,9 +3,12 @@ package main
import (
"crypto/sha1"
"fmt"
"io"
)
func main() {
data := []byte("This page intentionally left blank.")
fmt.Printf("% x", sha1.Sum(data))
h := sha1.New()
io.WriteString(h, "The fog is getting thicker!")
io.WriteString(h, "And Leon's getting laaarger!")
fmt.Printf("%x", h.Sum(nil))
}

View File

@@ -1,7 +1,6 @@
package sha1
// llgo:skipall
import (
"hash"
"unsafe"