summaryrefslogtreecommitdiff
path: root/test/indent/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/indent/js.js')
-rw-r--r--test/indent/js.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/indent/js.js b/test/indent/js.js
index 1924094e9d8..2d458e1b769 100644
--- a/test/indent/js.js
+++ b/test/indent/js.js
@@ -7,6 +7,11 @@ let c = 1,
var e = 100500,
+ 1;
+function test ()
+{
+ return /[/]/.test ('/') // (bug#19397)
+}
+
var f = bar('/protocols/')
baz();