Commit 893e1eea 893e1eea247288fb522080dd61de1bfc52250500 by Mickaël Andrieu

Improved output of Tester.assertInstanceOf() method

1 parent 2344ade5
...@@ -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,
......