Fixing misspelling issues
This commit is contained in:
parent
6ab485c766
commit
22e287750a
2
eval.go
2
eval.go
|
@ -76,7 +76,7 @@ func EvaluateAsDevTools(expression string, res interface{}, opts ...EvaluateOpti
|
||||||
return Evaluate(expression, res, append(opts, EvalObjectGroup("console"), EvalWithCommandLineAPI)...)
|
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
|
type EvaluateOption func(*rundom.EvaluateParams) *rundom.EvaluateParams
|
||||||
|
|
||||||
// EvalObjectGroup is a evaluate option to set the object group.
|
// EvalObjectGroup is a evaluate option to set the object group.
|
||||||
|
|
|
@ -323,7 +323,7 @@ func TestCaptureScreenshot(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(buf) == 0 {
|
if len(buf) == 0 {
|
||||||
t.Fatal("failed to capture screenshoot")
|
t.Fatal("failed to capture screenshot")
|
||||||
}
|
}
|
||||||
//TODO: test image
|
//TODO: test image
|
||||||
}
|
}
|
||||||
|
|
|
@ -718,7 +718,7 @@ func TestScreenshot(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(buf) == 0 {
|
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
|
//TODO: test image
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user