diff options
Diffstat (limited to 'test/built-ins/Symbol/species/subclassing.js')
-rw-r--r-- | test/built-ins/Symbol/species/subclassing.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/built-ins/Symbol/species/subclassing.js b/test/built-ins/Symbol/species/subclassing.js index 5264f2437..d6a13d498 100644 --- a/test/built-ins/Symbol/species/subclassing.js +++ b/test/built-ins/Symbol/species/subclassing.js @@ -9,6 +9,8 @@ description: Symbol.species is retained on subclassing features: [Symbol.species] ---*/ -class MyRegExp extends RegExp {}; +class MyRegExp extends RegExp { +}; assert.sameValue(MyRegExp[Symbol.species], MyRegExp); + |