github.com/n3integration/conseil@v0.1.1/actions/actions_test.go (about) 1 package actions 2 3 import ( 4 "testing" 5 ) 6 7 func TestGetCommands(t *testing.T) { 8 cmds := GetCommands() 9 if len(cmds) == 0 { 10 t.Fatal("no registered commands") 11 } 12 } 13 14 func TestParseTemplates(t *testing.T) { 15 base := parseTemplates() 16 templates := base.Templates() 17 if len(templates) == 0 { 18 t.Fatal("no templates parsed") 19 } 20 }