Fix 'wether'->'whether'

Signed-off-by: Xiaoxi He <xxhe@alauda.io>
This commit is contained in:
Xiaoxi He 2018-09-07 15:22:06 +08:00
parent ce4a9f8311
commit 2e0d87a247
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ func Contains(expected string) func(string) error {
} }
} }
// Equals returns wether the line is the same as the specified string // Equals returns whether the line is the same as the specified string
func Equals(expected string) func(string) error { func Equals(expected string) func(string) error {
return func(actual string) error { return func(actual string) error {
if expected == actual { if expected == actual {