Skip to content

Commit

Permalink
replaced expect with if
Browse files Browse the repository at this point in the history
  • Loading branch information
nbari committed Sep 2, 2016
1 parent c40a790 commit aa528ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion daemon_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,9 @@ func TestSignalsUDOT(t *testing.T) {
// wait for process to finish
err = <-p.errch
atomic.StoreUint32(&d.lock, d.lock_once)
expect(t, "signal: terminated", err.Error())
if "signal: terminated" != err.Error() {
t.Error("Expecting an error")
}
np = NewProcess(cfg)
p, err = d.Run(np)
if err == nil {
Expand Down

0 comments on commit aa528ea

Please sign in to comment.