aboutsummaryrefslogtreecommitdiff
path: root/handler_test.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-11 16:24:20 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-11 16:24:20 +0100
commita8c39c65e0494d55e94055867c11e992446a09c8 (patch)
tree6affc0b724a64fd04d39e92f57afce12111e1296 /handler_test.go
parentc42378e477e547c9d427aae95e64155e0f7b2da3 (diff)
added doc
Diffstat (limited to 'handler_test.go')
-rw-r--r--handler_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/handler_test.go b/handler_test.go
index e1805fc..934ddeb 100644
--- a/handler_test.go
+++ b/handler_test.go
@@ -130,6 +130,7 @@ func TestPostHandlersRejectGet(t *testing.T) {
}
}
+// TestGetAnchors checks for a valid number of decodable trust anchors
func TestGetAnchors(t *testing.T) {
th := newTestHandler(t, nil)
defer th.mockCtrl.Finish()
@@ -160,6 +161,7 @@ func TestGetAnchors(t *testing.T) {
}
}
+// TestGetSth: docdoc and TODO: move quirky tests to trillian_tests.go?
func TestGetSth(t *testing.T) {
for _, table := range []struct {
description string