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
c4049f65
...
c4049f65a3a991fa48e602acc9751dceb7865003
authored
2013-09-12 15:03:15 -0700
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #623 from jameydeorio/master
Fix typo in warning message
2 parents
7897d32a
4b4e09e6
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 @
c4049f6
...
...
@@ -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