diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-06-17 14:37:25 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-06-17 14:37:25 +0700 |
| commit | 343f2bb76eb170e95701d378ddde0e9e4d9f16fa (patch) | |
| tree | 663a18a3db7decb5349ce395752b700d734a0356 /lib/http | |
| parent | 301f387075c5615a2d65bbfe08da75a43fd0f601 (diff) | |
| download | pakakeh.go-343f2bb76eb170e95701d378ddde0e9e4d9f16fa.tar.xz | |
http: fix possible test race on error variable in goroutine
Diffstat (limited to 'lib/http')
| -rw-r--r-- | lib/http/http_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http/http_test.go b/lib/http/http_test.go index 9e31a662..a15cb873 100644 --- a/lib/http/http_test.go +++ b/lib/http/http_test.go @@ -63,7 +63,7 @@ func TestMain(m *testing.M) { } go func() { - err = testServer.Start() + err := testServer.Start() if err != nil { log.Fatal(err) } |
