@@ -267,7 +267,7 @@ index 0000000000..2bf4c443d8
267267+ 
268268+ 	a.Equal(p.ClientKey, os.Getenv("BLENDERID_KEY"))
269269+ 	a.Equal(p.Secret, os.Getenv("BLENDERID_SECRET"))
270- + 	a.Equal(p.CallbackURL,  "/foo")
270+ + 	a.Equal("/foo", p.CallbackURL )
271271+ }
272272+ 
273273+ func Test_NewCustomisedURL(t *testing.T) {
@@ -305,8 +305,8 @@ index 0000000000..2bf4c443d8
305305+ 	a.NoError(err)
306306+ 
307307+ 	s := session.(*blenderid.Session)
308- + 	a.Equal(s.AuthURL,  "https://id.blender.org/oauth/authorize")
309- + 	a.Equal(s.AccessToken,  "1234567890")
308+ + 	a.Equal("https://id.blender.org/oauth/authorize", s.AuthURL )
309+ + 	a.Equal("1234567890", s.AccessToken )
310310+ }
311311+ 
312312+ func provider() *blenderid.Provider {
@@ -546,7 +546,7 @@ index 0000000000..ab7fb974a5
546546+ 	s.AuthURL = "/foo"
547547+ 
548548+ 	url, _ := s.GetAuthURL()
549- + 	a.Equal(url,  "/foo")
549+ + 	a.Equal("/foo", url )
550550+ }
551551+ 
552552+ func Test_ToJSON(t *testing.T) {
@@ -555,7 +555,7 @@ index 0000000000..ab7fb974a5
555555+ 	s := &blenderid.Session{}
556556+ 
557557+ 	data := s.Marshal()
558- + 	a.Equal(data,  `{"AuthURL":"","AccessToken":"","RefreshToken":"","ExpiresAt":"0001-01-01T00:00:00Z"}`)
558+ + 	a.JSONEq( `{"AuthURL":"","AccessToken":"","RefreshToken":"","ExpiresAt":"0001-01-01T00:00:00Z"}`, data )
559559+ }
560560+ 
561561+ func Test_String(t *testing.T) {
0 commit comments