fduraffourg/go-openid — pull request #3 by paddyforan (2011-11-09 13:50:40+00:00)
Title: Update to Go Weekly

I updated this library to use the new error interface and account for the restructuring of http.Request from the 11-02-11 (I believe) Go weekly.

Note: there is still a failing test. Can't quite discern why. For some reason, I'm getting an empty Reader when fetching for http://yahoo.com.

gotest
rm -f _test/openid.a
8g -p openid -o _gotest_.8 authrequest.go xrds.go yadis.go verify.go authrequest_test.go xrds_test.go yadis_test.go
rm -f _test/openid.a
gopack grc _test/openid.a _gotest_.8
--- FAIL: openid.TestGetRedirectURL (3.22 seconds)
GetRedirectURL() returned the error: Yadis returned an empty Reader for the ID: http://yahoo.com
TestYadis 08:47:45.994187 yadis.go:34: got xrds from "https://www.google.com/accounts/o8/id"
TestYadis 08:47:46.268322 yadis.go:55: fetching xrds found in http header "http://openid.orange.fr/xrds"
TestYadis 08:47:46.842878 yadis.go:55: fetching xrds found in http header "http://open.login.yahooapis.com/openid20/www.yahoo.com/xrds"
FAIL
gotest: "./8.out" failed: exit status 1
make: *** [test] Error 2