Index: test/mjsunit/regress/regress-1213575.js |
diff --git a/test/mjsunit/regress/regress-1213575.js b/test/mjsunit/regress/regress-1213575.js |
index 08414fb7b5d0bd78c59d081885efab1ba12772e1..9d82064e4730aff403da71c6a4d34f4c0a915645 100644 |
--- a/test/mjsunit/regress/regress-1213575.js |
+++ b/test/mjsunit/regress/regress-1213575.js |
@@ -25,8 +25,9 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Make sure that a const definition does not try |
-// to pass 'the hole' to a defined setter. |
+// Make sure that a const definition always |
+// conflicts with a defined setter. This avoid |
+// trying to pass 'the hole' to the setter. |
this.__defineSetter__('x', function(value) { assertTrue(false); }); |
@@ -37,4 +38,4 @@ try { |
assertTrue(e instanceof TypeError); |
caught = true; |
} |
-assertFalse(caught); |
+assertTrue(caught); |