about summary refs log tree commit diff
path: root/router_benchmark_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'router_benchmark_test.go')
-rw-r--r--router_benchmark_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/router_benchmark_test.go b/router_benchmark_test.go
index 6c328ce..a5d334a 100644
--- a/router_benchmark_test.go
+++ b/router_benchmark_test.go
@@ -14,7 +14,7 @@ func testSimpleRoute(req *Request) (Response, error) {
 
 func BenchmarkSimple(b *testing.B) {
 	b.StopTimer()
-	router := BuildDispatcher()
+	router := BuildRouter()
 
 	// Most of the test is a rip from https://github.com/ant0ine/go-json-rest/
 	// author Antoine Imbert