Fixing misspelling issues

This commit is contained in:
Kenneth Shaw 2017-03-02 09:53:47 +07:00
parent 6ab485c766
commit 22e287750a
3 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ func EvaluateAsDevTools(expression string, res interface{}, opts ...EvaluateOpti
return Evaluate(expression, res, append(opts, EvalObjectGroup("console"), EvalWithCommandLineAPI)...)
}
// EvaluateOption is the type for script evaulation options.
// EvaluateOption is the type for script evaluation options.
type EvaluateOption func(*rundom.EvaluateParams) *rundom.EvaluateParams
// EvalObjectGroup is a evaluate option to set the object group.

View File

@ -323,7 +323,7 @@ func TestCaptureScreenshot(t *testing.T) {
}
if len(buf) == 0 {
t.Fatal("failed to capture screenshoot")
t.Fatal("failed to capture screenshot")
}
//TODO: test image
}

View File

@ -718,7 +718,7 @@ func TestScreenshot(t *testing.T) {
}
if len(buf) == 0 {
t.Fatalf("test %d failed to capture screenshoot", i)
t.Fatalf("test %d failed to capture screenshot", i)
}
//TODO: test image
}