awl/main_test.go
Sam Therapy 49ea09a251
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
another refactor :^)
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-08-04 01:29:20 +02:00

20 lines
309 B
Go

// SPDX-License-Identifier: BSD-3-Clause
package main
import (
"os"
"testing"
"gotest.tools/v3/assert"
)
// nolint: paralleltest
func TestMain(t *testing.T) {
os.Args = []string{"awl", "+yaml", "@1.1.1.1"}
main()
os.Args = []string{"awl", "+short", "@1.1.1.1"}
main()
assert.Assert(t, 1 == 2-1)
}