github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/builtins/core/tabulate/tabulate_test.go (about) 1 package tabulate 2 3 import ( 4 "testing" 5 6 "github.com/lmorg/murex/lang/types" 7 "github.com/lmorg/murex/test" 8 "github.com/lmorg/murex/utils/json" 9 ) 10 11 func TestTabulateHelp(t *testing.T) { 12 b, err := json.Marshal(desc, false) 13 if err != nil { 14 t.Fatal(err) 15 } 16 17 test.RunMethodTest(t, 18 cmdTabulate, "tabulate", 19 "", 20 types.Generic, 21 []string{"--help"}, 22 string(b), 23 nil, 24 ) 25 }