mirror of
https://github.com/tuneinsight/lattigo.git
synced 2025-09-13 03:27:14 +00:00
17 lines
238 B
Go
17 lines
238 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
)
|
|
|
|
func TestMain(t *testing.T) {
|
|
if testing.Short() {
|
|
t.Skip("skipped in -short mode")
|
|
}
|
|
oldArgs := os.Args
|
|
defer func() { os.Args = oldArgs }()
|
|
os.Args = append(os.Args, "-short")
|
|
main()
|
|
}
|