change minor mistake of spelling

Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: 7c3657065cc04af278a0f1cee99de8c2401ba0ef
Component: engine
This commit is contained in:
allencloud
2016-12-19 14:45:48 +08:00
parent 5c41fff748
commit 209ed6b4ef
17 changed files with 20 additions and 20 deletions

View File

@ -64,7 +64,7 @@ func (r *Result) Assert(t testingT, exp Expected) {
t.Fatalf("at %s:%d\n%s", filepath.Base(file), line, err.Error())
}
// Compare returns an formatted error with the command, stdout, stderr, exit
// Compare returns a formatted error with the command, stdout, stderr, exit
// code, and any failed expectations
func (r *Result) Compare(exp Expected) error {
errors := []string{}