oauth2, jws, internal: more style fixes for bad test messages

Change-Id: Id2805fd77fb11d975414eb66689efab284a18805
Reviewed-on: https://go-review.googlesource.com/27911
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Jaana Burcu Dogan
2016-08-26 11:51:24 -07:00
parent 68218bf41b
commit e839600e66
3 changed files with 13 additions and 14 deletions

View File

@@ -41,6 +41,6 @@ func TestSignAndVerify(t *testing.T) {
func TestVerifyFailsOnMalformedClaim(t *testing.T) {
err := Verify("abc.def", nil)
if err == nil {
t.Error("Improperly formed JWT should fail.")
t.Error("got no errors; want improperly formed JWT not to be verified")
}
}