1 Star 0 Fork 0

浪图怪人/gutils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
command_test.go 269 Bytes
一键复制 编辑 原始数据 按行查看 历史
Catch Zeng 提交于 5年前 . feat: init
package os
import "testing"
func TestRunBashCommand(t *testing.T) {
err := RunBashCommand("ls")
if err != nil {
t.Error("RunBashCommand error must be nil")
}
err = RunBashCommand("asasa")
if err == nil {
t.Error("RunBashCommand error must not be nil")
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/langtu/gutils.git
git@gitee.com:langtu/gutils.git
langtu
gutils
gutils
master

搜索帮助