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
1a8634f5
...
1a8634f5ea6cc8f3b9a843c3136492c3b2813827
authored
2013-02-14 10:02:08 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
more detailed default message for Tester.assertElementCount()
1 parent
414878b4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
modules/tester.js
modules/tester.js
View file @
1a8634f
...
...
@@ -307,7 +307,10 @@ Tester.prototype.assertElementCount = function assertElementCount(selector, coun
}
},
selector
)
===
count
,
message
,
{
type
:
"assertElementCount"
,
standard
:
f
(
"%d matching element(s) found"
,
count
),
standard
:
f
(
'%d element%s matching selector "%s" found'
,
count
,
count
>
1
?
's'
:
''
,
selector
),
values
:
{
selector
:
selector
,
count
:
count
...
...
Please
register
or
sign in
to post a comment