aboutsummaryrefslogtreecommitdiff
path: root/web/revolt/handler_test.go
blob: 77d8a62e8e8265d7b6cb1868b24d7714c7ec3faa (plain)
1
2
3
4
5
6
7
8
9
10
11
package revolt

import "testing"

func TestNullHandlerIsHandler(t *testing.T) {
	nh := NullHandler{}
	var i any = nh
	if _, ok := i.(Handler); !ok {
		t.Error("NullHandler does not implement Handler")
	}
}