]> code.delx.au - gnu-emacs-elpa/blobdiff - tests/parser.el
Parse tagged templates
[gnu-emacs-elpa] / tests / parser.el
index 39a55e904dfbd9cb2cb839868a1d86e5f88237c4..dc210a5a89561f5e53e9ba34786751a9d7497a2e 100644 (file)
@@ -350,6 +350,9 @@ the test."
 (js2-deftest-parse template-with-substitutions
   "var y = `${a + b} ${d + e + f}`;")
 
+(js2-deftest-parse tagged-template
+  "foo.args`${++x, \"o\"}k`;")
+
 ;;; Classes
 
 (js2-deftest-parse parse-harmony-class-statement