mirror of
https://github.com/luxfi/lattice.git
synced 2026-09-24 00:25:44 +00:00
17 lines
224 B
Go
17 lines
224 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 = os.Args[:1]
|
|
main()
|
|
}
|