changeset 14:4368a377ff64

gofmt.
author Paul Fisher <paul@pfish.zone>
date Thu, 29 Oct 2015 21:31:28 -0400
parents da6c493cf08a
children 9b4ec6b5c23e
files auth/auth.go auth/auth_test.go
diffstat 2 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/auth/auth.go	Thu Oct 29 21:29:27 2015 -0400
+++ b/auth/auth.go	Thu Oct 29 21:31:28 2015 -0400
@@ -27,7 +27,7 @@
 )
 
 var (
-	WrongLengthError      error = errors.New("multipass/auth: password entry must have 3 fields")
+	WrongLengthError     error = errors.New("multipass/auth: password entry must have 3 fields")
 	BadIDError                 = errors.New("multipass/auth: ID field invalid")
 	Base64Error                = errors.New("multipass/auth: can't decode base64 data")
 	LongDescriptionError       = errors.New("multipass/auth: description must be less than 255 bytes")
--- 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{