mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
12 lines
230 B
Go
12 lines
230 B
Go
package main
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
// RunUnitTest run the unit tests
|
|
func RunUnitTest(cobraCmd *cobra.Command, args []string) {
|
|
err := CommandWithStdout("go", "test", "./...").Run()
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
}
|