diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-2-18.js b/test/built-ins/Object/defineProperties/15.2.3.7-2-18.js index b95a3e2354..01f658dfec 100644 --- a/test/built-ins/Object/defineProperties/15.2.3.7-2-18.js +++ b/test/built-ins/Object/defineProperties/15.2.3.7-2-18.js @@ -24,7 +24,9 @@ try { Object.defineProperties(obj, this); } catch (e) { - if (!(e instanceof TypeError)) throw e; + if (!(e instanceof TypeError)) { + $ERROR("Expected TypeError, got " + e); + } result = true; } finally { delete this.prop;