X-Git-Url: http://git.giacomolli.uk/onechat/blobdiff_plain/fbee1a3e74297e1f73b3fc99913861b80c96cf87..a3b9849a54a6cd8a4cc5b1ae03a39aab31322f7b:/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 }