/usr/share/gocode/src/github.com/abbot/go-http-auth/misc_test.go is in golang-github-abbot-go-http-auth-dev 0.0~git20150714.0.46b9627-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | package auth
import "testing"
func TestH(t *testing.T) {
const hello = "Hello, world!"
const hello_md5 = "6cd3556deb0da54bca060b4c39479839"
h := H(hello)
if h != hello_md5 {
t.Fatal("Incorrect digest for test string:", h, "instead of", hello_md5)
}
}
|