diff --git a/dispatcher_test.go b/dispatcher_test.go
index <HASH>..<HASH> 100644
--- a/dispatcher_test.go
+++ b/dispatcher_test.go
@@ -8,6 +8,13 @@ import (
 	"unsafe"
 )
 
+func TestDispatcherAddNonFunc(t *testing.T) {
+	d := NewDispatcher()
+	testPanic(t, func() {
+		d.AddFunc("foobar", 123)
+	})
+}
+
 func TestDispatcherEmptyFuncName(t *testing.T) {
 	d := NewDispatcher()
 	testPanic(t, func() {
added a test non-func passing to Dispatcher.AddFunc