diff auth/auth_test.go @ 14:4368a377ff64

gofmt.
author Paul Fisher <paul@pfish.zone>
date Thu, 29 Oct 2015 21:31:28 -0400
parents 1c194fa9bbf4
children bfc035bd5132
line wrap: on
line diff
--- a/auth/auth_test.go	Thu Oct 29 21:29:27 2015 -0400
+++ b/auth/auth_test.go	Thu Oct 29 21:31:28 2015 -0400
@@ -21,9 +21,9 @@
 		rest        []string
 	}{
 		{
-			shadow:   "1234:$2a$12$apFtWGXKtWBavVy5eo.22Ohs43GudT5IYTqyQkIBX9LpS7YtvKBpa:",
-			id:       1234,
-			hash:     "$2a$12$apFtWGXKtWBavVy5eo.22Ohs43GudT5IYTqyQkIBX9LpS7YtvKBpa",
+			shadow: "1234:$2a$12$apFtWGXKtWBavVy5eo.22Ohs43GudT5IYTqyQkIBX9LpS7YtvKBpa:",
+			id:     1234,
+			hash:   "$2a$12$apFtWGXKtWBavVy5eo.22Ohs43GudT5IYTqyQkIBX9LpS7YtvKBpa",
 		},
 		{
 			shadow:      basicShadow,
@@ -32,9 +32,9 @@
 			description: "anything more than 5 reps is cardio",
 		},
 		{
-			shadow:   anotherShadow,
-			id:       1,
-			hash:     "$2a$12$lINQdYWHOcLKoqhNOr3mNOpZSAu5JOBS2F7T/VDfYn2rvv6qUJehG",
+			shadow: anotherShadow,
+			id:     1,
+			hash:   "$2a$12$lINQdYWHOcLKoqhNOr3mNOpZSAu5JOBS2F7T/VDfYn2rvv6qUJehG",
 		},
 		{
 			shadow:  "one:bogushash:",
@@ -53,7 +53,7 @@
 			wantErr: true,
 		},
 		{
-			shadow: "1:bogushash::more things",
+			shadow:  "1:bogushash::more things",
 			wantErr: true,
 		},
 	}
@@ -132,7 +132,7 @@
 	}
 	type testcase struct {
 		password string
-		want               bool
+		want     bool
 	}
 
 	cases := []testcase{