aboutsummaryrefslogtreecommitdiff
path: root/middleware/pprof/setup_test.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--middleware/pprof/setup_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/middleware/pprof/setup_test.go b/middleware/pprof/setup_test.go
index af46fd415..eaa4cb37e 100644
--- a/middleware/pprof/setup_test.go
+++ b/middleware/pprof/setup_test.go
@@ -12,6 +12,8 @@ func TestPProf(t *testing.T) {
shouldErr bool
}{
{`pprof`, false},
+ {`pprof 1.2.3.4:1234`, false},
+ {`pprof :1234`, false},
{`pprof {}`, true},
{`pprof /foo`, true},
{`pprof {