fix test fail
This commit is contained in:
@@ -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))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package sha1
|
package sha1
|
||||||
|
|
||||||
// llgo:skipall
|
// llgo:skipall
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"hash"
|
"hash"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
|
|||||||
Reference in New Issue
Block a user