diff --git a/test/built-ins/RegExp/prototype/Symbol.replace/result-coerce-groups-prop.js b/test/built-ins/RegExp/prototype/Symbol.replace/result-coerce-groups-prop.js index 5d324825cf..b2d3945b73 100644 --- a/test/built-ins/RegExp/prototype/Symbol.replace/result-coerce-groups-prop.js +++ b/test/built-ins/RegExp/prototype/Symbol.replace/result-coerce-groups-prop.js @@ -58,6 +58,7 @@ var coercibleValue = { throw new Test262Error('This method should not be invoked.'); }, }, + bar: null, }, }; @@ -66,3 +67,4 @@ r.exec = function() { }; assert.sameValue(r[Symbol.replace]('ab', '[$]'), '[toString value]b'); +assert.sameValue(r[Symbol.replace]('ab', '[$]'), '[null]b');