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
d6282d43
...
d6282d43177b3e1d63f6ed68d1721c2308997aa7
authored
2012-05-26 17:36:15 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
finished refactor of Tester.assert*() methods
1 parent
6c726eeb
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
1 deletions
modules/tester.js
tests/suites/tester.js
modules/tester.js
View file @
d6282d4
This diff is collapsed.
Click to expand it.
tests/suites/tester.js
View file @
d6282d4
...
...
@@ -42,7 +42,7 @@ var expected = [
].
map
(
function
(
entry
)
{
return
fs
.
pathJoin
.
apply
(
fs
,
[
testDirRoot
].
concat
(
entry
.
split
(
'/'
)));
});
t
.
assertEquals
(
files
,
[]
,
'findTestFiles() find test files and sort them'
);
t
.
assertEquals
(
files
,
expected
,
'findTestFiles() find test files and sort them'
);
t
.
comment
(
'Tester.assertTextExists()'
);
casper
.
start
(
'tests/site/index.html'
,
function
()
{
...
...
Please
register
or
sign in
to post a comment