summaryrefslogtreecommitdiff
path: root/test/built-ins/Symbol/species/subclassing.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Symbol/species/subclassing.js')
-rw-r--r--test/built-ins/Symbol/species/subclassing.js4
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);
+