Skip to content

Commit

Permalink
gobottest: increase test coverage
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Apr 9, 2017
1 parent 13782c9 commit 0b7b1ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gobottest/gobottest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,8 @@ func TestRefute(t *testing.T) {
t.Errorf("Refute failed: 1 should not be 1")
}
}

func TestExecCommand(t *testing.T) {
val := ExecCommand("echo", "hello")
Refute(t, val, nil)
}

0 comments on commit 0b7b1ec

Please sign in to comment.