From c2467d031f3121104fb371c5585ae4dd3a6f6865 Mon Sep 17 00:00:00 2001 From: xenolf Date: Fri, 11 Dec 2015 16:56:22 +0100 Subject: [PATCH] Fix tests with new error --- acme/http_challenge_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme/http_challenge_test.go b/acme/http_challenge_test.go index bf085ffd..3b9d4699 100644 --- a/acme/http_challenge_test.go +++ b/acme/http_challenge_test.go @@ -161,7 +161,7 @@ func TestHTTPInvalidServerState(t *testing.T) { if err := solver.Solve(clientChallenge, "127.0.0.1"); err == nil { t.Error("UNEXPECTED: Expected Solve to return an error but the error was nil.") } else { - expectedError := "The server could not validate our request." + expectedError := "acme: Error 0 - - \nError Detail:\n" if err.Error() != expectedError { t.Errorf("Expected error |%s| but instead got |%s|", expectedError, err.Error()) }