diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2019-10-16 01:59:56 +0200 |
---|---|---|
committer | Erik Dubbelboer <erik@dubbelboer.com> | 2019-10-16 10:20:13 +0200 |
commit | c3d82ca3a430260ff1795abfeac9e8396ed6f6fe (patch) | |
tree | dde63ec5b5f22388ef65a12ca7dc6bc131bee2d8 /header_regression_test.go | |
parent | Use Fatal instead of Fatalf when no formatting used (diff) | |
download | fasthttp-c3d82ca3a430260ff1795abfeac9e8396ed6f6fe.tar.gz fasthttp-c3d82ca3a430260ff1795abfeac9e8396ed6f6fe.tar.bz2 fasthttp-c3d82ca3a430260ff1795abfeac9e8396ed6f6fe.zip |
Speed up testing by running tests in parallel
Diffstat (limited to 'header_regression_test.go')
-rw-r--r-- | header_regression_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/header_regression_test.go b/header_regression_test.go index ea2615c..75d5475 100644 --- a/header_regression_test.go +++ b/header_regression_test.go @@ -9,6 +9,8 @@ import ( ) func TestIssue28ResponseWithoutBodyNoContentType(t *testing.T) { + t.Parallel() + var r Response // Empty response without content-type @@ -41,6 +43,8 @@ func TestIssue28ResponseWithoutBodyNoContentType(t *testing.T) { } func TestIssue6RequestHeaderSetContentType(t *testing.T) { + t.Parallel() + testIssue6RequestHeaderSetContentType(t, MethodGet) testIssue6RequestHeaderSetContentType(t, MethodPost) testIssue6RequestHeaderSetContentType(t, MethodPut) |