9 lines
218 B
Go
9 lines
218 B
Go
package system
|
|
|
|
// func TestProcessReturn(t *testing.T) {
|
|
// output, err := process.New("yao.system.Exec", "echo", "hello").Exec()
|
|
// if err != nil {
|
|
// t.Fatal(err)
|
|
// }
|
|
// assert.Equal(t, "hello", output)
|
|
// }
|