summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_5
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-19 16:08:36 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-19 16:08:36 +0100
commiteb94521052069487322ab45aba9df6e29fc2ce8c (patch)
treef55dcd07c5e8ed7eef7372e533f49566ec413545 /js/src/tests/ecma_5
parente3f1d0d10638e46e3a22cf8363c03922200cb158 (diff)
downloadUXP-eb94521052069487322ab45aba9df6e29fc2ce8c.tar
UXP-eb94521052069487322ab45aba9df6e29fc2ce8c.tar.gz
UXP-eb94521052069487322ab45aba9df6e29fc2ce8c.tar.lz
UXP-eb94521052069487322ab45aba9df6e29fc2ce8c.tar.xz
UXP-eb94521052069487322ab45aba9df6e29fc2ce8c.zip
Part 4: Fix existing tests
Issue #87
Diffstat (limited to 'js/src/tests/ecma_5')
-rw-r--r--js/src/tests/ecma_5/extensions/error-tostring-function.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/tests/ecma_5/extensions/error-tostring-function.js b/js/src/tests/ecma_5/extensions/error-tostring-function.js
index 5e92f1075..86751c39d 100644
--- a/js/src/tests/ecma_5/extensions/error-tostring-function.js
+++ b/js/src/tests/ecma_5/extensions/error-tostring-function.js
@@ -27,7 +27,7 @@ assertEq(ErrorToString(function(){}), "");
var fn1 = function() {};
fn1.message = "ohai";
-assertEq(ErrorToString(fn1), "ohai");
+assertEq(ErrorToString(fn1), "fn1: ohai");
var fn2 = function blerch() {};
fn2.message = "fnord";
@@ -35,7 +35,7 @@ assertEq(ErrorToString(fn2), "blerch: fnord");
var fn3 = function() {};
fn3.message = "";
-assertEq(ErrorToString(fn3), "");
+assertEq(ErrorToString(fn3), "fn3");
/******************************************************************************/