summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/api/google_tasks_oauth_test.go1
-rw-r--r--internal/handlers/shopping_edit_test.go7
2 files changed, 3 insertions, 5 deletions
diff --git a/internal/api/google_tasks_oauth_test.go b/internal/api/google_tasks_oauth_test.go
index 3503cbb..93acd76 100644
--- a/internal/api/google_tasks_oauth_test.go
+++ b/internal/api/google_tasks_oauth_test.go
@@ -153,4 +153,3 @@ func TestDBTokenSource_NotConnected(t *testing.T) {
t.Errorf("error = %q, want it to mention not being connected", err)
}
}
-
diff --git a/internal/handlers/shopping_edit_test.go b/internal/handlers/shopping_edit_test.go
index 6d862d7..5e4f2f9 100644
--- a/internal/handlers/shopping_edit_test.go
+++ b/internal/handlers/shopping_edit_test.go
@@ -18,9 +18,9 @@ func TestParseUserItemID(t *testing.T) {
}{
{"user-42", 42, true},
{"user-1", 1, true},
- {"5f2a91bc", 0, false}, // a PlanToEat id
- {"user-", 0, false}, // malformed
- {"user-abc", 0, false}, // non-numeric
+ {"5f2a91bc", 0, false}, // a PlanToEat id
+ {"user-", 0, false}, // malformed
+ {"user-abc", 0, false}, // non-numeric
{"", 0, false},
}
for _, c := range cases {
@@ -235,4 +235,3 @@ func TestShoppingSectionCreate_UnknownStore(t *testing.T) {
t.Errorf("status %d, want 404", rec.Code)
}
}
-