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
3f97d3d1
...
3f97d3d1fabcc79e5371ca21f0b9164c2ef68df6
authored
2013-08-27 02:05:32 +0200
by
mickaelandrieu
Committed by
Mickaël Andrieu
2013-09-09 00:58:42 +0200
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
js lint compliant, see travis #917
1 parent
15411690
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
tests/suites/tester/assert.js
tests/suites/tester/assert.js
View file @
3f97d3d
...
...
@@ -61,7 +61,7 @@ casper.test.begin('Common assertions tests', 46, function(test) {
test
.
assertTitleMatches
(
/test index/
,
'Tester.assertTitleMatches() works as expected [alias]'
);
test
.
assertType
(
"plop"
,
"string"
,
"Tester.assertType() works as expected"
);
// we need a constructor and an object
function
Cow
(){}
;
var
daisy
=
new
Cow
();
function
Cow
(){}
var
daisy
=
new
Cow
();
test
.
assertInstanceOf
(
daisy
,
Cow
,
"Tester.assertInstanceOf() works as expected"
);
test
.
assertUrlMatch
(
/index
\.
html$/
,
"Tester.assertUrlMatch() works as expected"
);
test
.
assertUrlMatches
(
/index
\.
html$/
,
"Tester.assertUrlMatches() works as expected [alias]"
);
...
...
Please
register
or
sign in
to post a comment