| Index: LayoutTests/resources/js-test.js
|
| diff --git a/LayoutTests/resources/js-test.js b/LayoutTests/resources/js-test.js
|
| index ba1d8acddd5a9f64898389d1ea286d6425746baf..6c81b2a36b8175b14d0dc3cd1f47ad99f240f880 100644
|
| --- a/LayoutTests/resources/js-test.js
|
| +++ b/LayoutTests/resources/js-test.js
|
| @@ -263,8 +263,9 @@ function shouldBe(_a, _b, quiet, opt_tolerance)
|
| if (!quiet) {
|
| testPassed(_a + " is " + _b);
|
| }
|
| - } else if (typeof(_av) == typeof(_bv))
|
| + } else if (typeof(_av) == typeof(_bv)){
|
| testFailed(_a + " should be " + _bv + ". Was " + stringify(_av) + ".");
|
| + }
|
| else
|
| testFailed(_a + " should be " + _bv + " (of type " + typeof _bv + "). Was " + _av + " (of type " + typeof _av + ").");
|
| }
|
|
|