Make test command simpler

This commit is contained in:
kolaente 2020-08-31 22:19:15 +02:00
parent 6034329db4
commit f033fcbe6b
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 2 deletions

View File

@ -164,8 +164,7 @@ func Clean() error {
func Test() {
// We run everything sequentially and not in parallel to prevent issues with real test databases
args := []string{"test", Goflags[0], "-p", "1"}
args = append(args, ApiPackages...)
args := append([]string{"test", Goflags[0], "-p", "1"}, ApiPackages...)
runAndStreamOutput("go", args...)
}