| Index: test/mjsunit/harmony/templates.js
|
| diff --git a/test/mjsunit/harmony/templates.js b/test/mjsunit/harmony/templates.js
|
| index ee37d8241219a2de1aad479cd3648338c5689d3f..eb53dfeb00ba09abb3206c921026f26382938e2d 100644
|
| --- a/test/mjsunit/harmony/templates.js
|
| +++ b/test/mjsunit/harmony/templates.js
|
| @@ -428,3 +428,15 @@ var obj = {
|
| function tag(){}
|
| tag`a${1}b`;
|
| })();
|
| +
|
| +
|
| +(function testRawLineNormalization() {
|
| + function raw0(callSiteObj) {
|
| + return callSiteObj.raw[0];
|
| + }
|
| + assertEquals(eval("raw0`\r`"), "\n");
|
| + assertEquals(eval("raw0`\r\n`"), "\n");
|
| + assertEquals(eval("raw0`\r\r\n`"), "\n\n");
|
| + assertEquals(eval("raw0`\r\n\r\n`"), "\n\n");
|
| + assertEquals(eval("raw0`\r\r\r\n`"), "\n\n\n");
|
| +})();
|
|
|