Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2018-09-26 15:33:21 +08:00
parent 1ed9685484
commit 3afa01cc4e

View File

@ -412,7 +412,7 @@ func TestScriptStop(t *testing.T) {
}
err := plugin.Exec()
assert.Nil(t, err)
assert.NotNil(t, err)
assert.Equal(t, unindent(expected), unindent(buffer.String()))
}
@ -446,7 +446,7 @@ func TestNoneScriptStop(t *testing.T) {
}
err := plugin.Exec()
assert.Nil(t, err)
assert.NotNil(t, err)
assert.Equal(t, unindent(expected), unindent(buffer.String()))
}