Fix many typos in both code and comments

Signed-off-by: Vu Cong Tuan <tuanvc@vn.fujitsu.com>
This commit is contained in:
Vu Cong Tuan
2019-02-15 17:11:29 +07:00
parent 38a325250f
commit c747b7f38d
29 changed files with 47 additions and 47 deletions

View File

@@ -79,7 +79,7 @@ func expectFileValToEqual(filePath string, expectedValue, delta int64) error {
return fmt.Errorf("failed to parse output %v", err)
}
// Ensure that values are within a delta range to work arounding rounding errors.
// Ensure that values are within a delta range to work around rounding errors.
if (actual < (expectedValue - delta)) || (actual > (expectedValue + delta)) {
return fmt.Errorf("Expected value at %q to be between %d and %d. Got %d", filePath, (expectedValue - delta), (expectedValue + delta), actual)
}