github.com/keysonzzz/kmg@v0.0.0-20151121023212-05317bfd7d39/kmgCmd/Cmd_test.go (about) 1 package kmgCmd 2 3 import ( 4 "github.com/bronze1man/kmg/kmgTest" 5 "testing" 6 ) 7 8 func TestExist(t *testing.T) { 9 kmgTest.Ok(!Exist("absadfklsjdfa")) 10 kmgTest.Ok(Exist("ls")) 11 kmgTest.Ok(Exist("top")) 12 } 13 14 // 研究当前信号的处理的模式 15 func TestSingle(ot *testing.T) { 16 17 }