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