mirror of
https://github.com/openfaas/faas.git
synced 2025-06-17 12:46:59 +00:00
15 lines
275 B
Go
15 lines
275 B
Go
// Copyright 2017 Apcera Inc. All rights reserved.
|
|
|
|
package test
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
)
|
|
|
|
// TestMain runs all tests. Added since tests were moved to a separate package.
|
|
func TestMain(m *testing.M) {
|
|
// call flag.Parse() here if TestMain uses flags
|
|
os.Exit(m.Run())
|
|
}
|