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 ( import (
"crypto/sha1" "crypto/sha1"
"fmt" "fmt"
"io"
) )
func main() { func main() {
data := []byte("This page intentionally left blank.") h := sha1.New()
fmt.Printf("% x", sha1.Sum(data)) 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 package sha1
// llgo:skipall // llgo:skipall
import ( import (
"hash" "hash"
"unsafe" "unsafe"