From 639833aaf53d741176e0b4f817cbbf5a5da24037 Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Fri, 21 Jun 2013 09:20:57 +0000 Subject: [PATCH] fix tests --- auth/auth_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/auth_test.go b/auth/auth_test.go index ead69e8913..8e7adaef8d 100644 --- a/auth/auth_test.go +++ b/auth/auth_test.go @@ -34,7 +34,7 @@ func TestLogin(t *testing.T) { if err != nil { t.Fatal(err) } - if status != "Login Succeeded\n" { + if status != "Login Succeeded" { t.Fatalf("Expected status \"Login Succeeded\", found \"%s\" instead", status) } } @@ -55,7 +55,7 @@ func TestCreateAccount(t *testing.T) { t.Fatal(err) } expectedStatus := "Account created. Please use the confirmation link we sent" + - " to your e-mail to activate it.\n" + " to your e-mail to activate it." if status != expectedStatus { t.Fatalf("Expected status: \"%s\", found \"%s\" instead.", expectedStatus, status) }