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
893e1eea
...
893e1eea247288fb522080dd61de1bfc52250500
authored
2013-09-10 22:27:42 +0200
by
Mickaël Andrieu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Improved output of Tester.assertInstanceOf() method
1 parent
2344ade5
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 @
893e1ee
...
...
@@ -854,7 +854,7 @@ Tester.prototype.assertInstanceOf = function assertInstanceOf(subject, construct
}
return
this
.
assert
(
utils
.
betterInstanceOf
(
subject
,
constructor
),
message
,
{
type
:
"assertInstanceOf"
,
standard
:
f
(
'Subject
type is: "%s"'
,
constructor
),
standard
:
f
(
'Subject
is instance of: "%s"'
,
constructor
.
name
),
values
:
{
subject
:
subject
,
className
:
constructor
.
name
,
...
...
Please
register
or
sign in
to post a comment