Browse Source

fixed ci build: Forgot to stop the webserver

dependabot/npm_and_yarn/web/prismjs-1.21.0
Max Schmitt 8 years ago
parent
commit
92c7a7bc84
  1. 2
      main_test.go

2
main_test.go

@ -2,6 +2,7 @@ package main
import ( import (
"net/http" "net/http"
"os"
"testing" "testing"
"time" "time"
@ -18,4 +19,5 @@ func TestInitShortener(t *testing.T) {
t.Fatal("port is not in use") t.Fatal("port is not in use")
} }
close() close()
os.Exit(0)
} }

Loading…
Cancel
Save