Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
4b4e09e6
...
4b4e09e6ce15f5e71fd35ef6efae4711a080f523
authored
2013-09-12 14:35:30 -0700
by
Jamey J. DeOrio
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix typo in warning message
1 parent
7897d32a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/tester.js
modules/tester.js
View file @
4b4e09e
...
...
@@ -1358,7 +1358,7 @@ Tester.prototype.processError = function processError(error) {
Tester
.
prototype
.
processPhantomError
=
function
processPhantomError
(
msg
,
backtrace
)
{
"use strict"
;
if
(
/^AssertionError/
.
test
(
msg
))
{
this
.
casper
.
warn
(
'looks
you did not use begin()
which is mandatory since 1.1'
);
this
.
casper
.
warn
(
'looks
like you did not use begin(),
which is mandatory since 1.1'
);
}
var
termination
=
/^TerminationError:
?\s?(
.*
)
/
.
exec
(
msg
);
if
(
termination
)
{
...
...
Please
register
or
sign in
to post a comment