X-Git-Url: http://git.giacomolli.uk/onechat/blobdiff_plain/000ae97acb21a1c0c90e9278177a74411ba6eab2..087d725b5ab41ad34ffd24938482d45a8b99a080:/view_test.go diff --git a/view_test.go b/view_test.go index 56abdd6..f3d4e2a 100644 --- a/view_test.go +++ b/view_test.go @@ -144,7 +144,7 @@ func TestRestoreViewRejectsAGap(t *testing.T) { // ViewBuiltTree is a tree with each node built, with 1 byte of text. type ViewBuiltTree struct{} -func (ViewBuiltTree) Built(level, index int) (bool, error) { +func (v ViewBuiltTree) Built(_, _ int) (bool, error) { return true, nil }