aboutsummaryrefslogtreecommitdiff
path: root/stream_handler_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'stream_handler_test.go')
-rw-r--r--stream_handler_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/stream_handler_test.go b/stream_handler_test.go
index 962048f..254f8c3 100644
--- a/stream_handler_test.go
+++ b/stream_handler_test.go
@@ -332,6 +332,10 @@ func (tch *testConnectionHandler) PatternsDatabase() hyperscan.StreamDatabase {
return tch.patterns
}
+func (tch *testConnectionHandler) PatternsDatabaseSize() int {
+ return 8
+}
+
func (tch *testConnectionHandler) Complete(handler *StreamHandler) {
tch.onComplete(handler)
}