From 60394fb5352d9869946859cf534c36c92be51700 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Mon, 30 Nov 2020 19:38:21 +0100 Subject: removed TODO That the returned leaf and appendix are as expected follows from the newAddEntryRequest function and its separate test cases. --- handler_test.go | 1 - 1 file changed, 1 deletion(-) (limited to 'handler_test.go') diff --git a/handler_test.go b/handler_test.go index 4bfb87d..5390d1c 100644 --- a/handler_test.go +++ b/handler_test.go @@ -321,7 +321,6 @@ func TestAddEntry(t *testing.T) { req.Header.Set("Content-Type", "application/json") if table.trsp != nil || table.terr != nil { - // TODO: replace gomock.Any with a check that leaf and appendix are OK, e.g., chain length should be 3 th.client.EXPECT().QueueLeaf(newDeadlineMatcher(), gomock.Any()).Return(table.trsp, table.terr) } w := httptest.NewRecorder() -- cgit v1.2.3