add unit tests for various ways an action can be defined

This commit is contained in:
Casey Lee
2019-01-15 23:11:45 -08:00
parent e8c8579eff
commit 88847aed71
4 changed files with 165 additions and 13 deletions

2
go.mod
View File

@@ -11,6 +11,7 @@ require (
github.com/docker/go-units v0.3.3 // indirect
github.com/go-ini/ini v1.41.0
github.com/gogo/protobuf v1.2.0 // indirect
github.com/google/pprof v0.0.0-20190109223431-e84dfd68c163 // indirect
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e // indirect
github.com/gorilla/context v1.1.1 // indirect
github.com/gorilla/mux v1.6.2 // indirect
@@ -27,6 +28,7 @@ require (
github.com/spf13/cobra v0.0.3
github.com/spf13/pflag v1.0.3 // indirect
github.com/stretchr/testify v1.2.2
golang.org/x/arch v0.0.0-20181203225421-5a4828bb7045 // indirect
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793
golang.org/x/net v0.0.0-20181220203305-927f97764cc3 // indirect
golang.org/x/sys v0.0.0-20181030150119-7e31e0c00fa0 // indirect