aboutsummaryrefslogtreecommitdiff
path: root/expvarhandler
diff options
context:
space:
mode:
authorGravatar Erik Dubbelboer <erik@dubbelboer.com> 2021-06-18 14:57:18 +0200
committerGravatar Erik Dubbelboer <erik@dubbelboer.com> 2021-06-18 14:57:18 +0200
commit9f2c63676d93a1fe1cf836f1ae125fa5fb566039 (patch)
treed7ae04044a81c18c7f250d4e93114f3008b452f4 /expvarhandler
parentfix: set content-length properly when StreanRequestBody was enabled (#1049) (diff)
downloadfasthttp-9f2c63676d93a1fe1cf836f1ae125fa5fb566039.tar.gz
fasthttp-9f2c63676d93a1fe1cf836f1ae125fa5fb566039.tar.bz2
fasthttp-9f2c63676d93a1fe1cf836f1ae125fa5fb566039.zip
Lower go test time
Diffstat (limited to 'expvarhandler')
-rw-r--r--expvarhandler/expvar_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/expvarhandler/expvar_test.go b/expvarhandler/expvar_test.go
index df27dd7..550a65e 100644
--- a/expvarhandler/expvar_test.go
+++ b/expvarhandler/expvar_test.go
@@ -10,6 +10,8 @@ import (
)
func TestExpvarHandlerBasic(t *testing.T) {
+ t.Parallel()
+
expvar.Publish("customVar", expvar.Func(func() interface{} {
return "foobar"
}))