Improved output of Tester.assertInstanceOf() method
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -854,7 +854,7 @@ Tester.prototype.assertInstanceOf = function assertInstanceOf(subject, construct | ... | @@ -854,7 +854,7 @@ Tester.prototype.assertInstanceOf = function assertInstanceOf(subject, construct |
854 | } | 854 | } |
855 | return this.assert(utils.betterInstanceOf(subject, constructor), message, { | 855 | return this.assert(utils.betterInstanceOf(subject, constructor), message, { |
856 | type: "assertInstanceOf", | 856 | type: "assertInstanceOf", |
857 | standard: f('Subject type is: "%s"', constructor), | 857 | standard: f('Subject is instance of: "%s"', constructor.name), |
858 | values: { | 858 | values: { |
859 | subject: subject, | 859 | subject: subject, |
860 | className: constructor.name, | 860 | className: constructor.name, | ... | ... |
-
Please register or sign in to post a comment