Index: test/mjsunit/harmony/templates.js |
diff --git a/test/mjsunit/harmony/templates.js b/test/mjsunit/harmony/templates.js |
index 15ad9e92ca889762ce125cf05a3c811fad92a5f2..7c63ec968cc8b1fd36e358a1863732a50bbdf9db 100644 |
--- a/test/mjsunit/harmony/templates.js |
+++ b/test/mjsunit/harmony/templates.js |
@@ -330,6 +330,14 @@ var obj = { |
})(); |
+(function testStringRawAsTagFn() { |
+ assertEquals("\\u0065\\`\\r\\r\\n\\ntestcheck", |
+ String.raw`\u0065\`\r\r\n\n${"test"}check`); |
+ assertEquals("\\\n\\\n\\\n", eval("String.raw`\\\r\\\r\n\\\n`")); |
+ assertEquals("", String.raw``); |
+})(); |
+ |
+ |
(function testExtendedArrayPrototype() { |
Object.defineProperty(Array.prototype, 0, { |
set: function() { |