Index: LayoutTests/inspector/sources/pretty-print-javascript-template-literals-expected.txt |
diff --git a/LayoutTests/inspector/sources/pretty-print-javascript-template-literals-expected.txt b/LayoutTests/inspector/sources/pretty-print-javascript-template-literals-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..925409b7c7e4064ea2246ef5d5376159b395820d |
--- /dev/null |
+++ b/LayoutTests/inspector/sources/pretty-print-javascript-template-literals-expected.txt |
@@ -0,0 +1,51 @@ |
+Verifies JavaScript pretty-printing functionality. |
+ |
+ |
+Running: simpleLiteral |
+====== 8< ------ |
+var foo = `bar`; |
+ |
+------ >8 ====== |
+Correct mapping for <foo> |
+Correct mapping for <bar> |
+ |
+Running: multilineLiteral |
+====== 8< ------ |
+var foo = `this |
+bar`; |
+ |
+------ >8 ====== |
+Correct mapping for <foo> |
+Correct mapping for <bar> |
+ |
+Running: stringSubstitution |
+====== 8< ------ |
+var a = `I have ${credit + cash}$`; |
+ |
+------ >8 ====== |
+Correct mapping for <credit> |
+Correct mapping for <cash> |
+ |
+Running: multipleStringSubstitution |
+====== 8< ------ |
+var a = `${name} has ${credit + cash}${currency ? currency : "$"}`; |
+ |
+------ >8 ====== |
+Correct mapping for <credit> |
+Correct mapping for <cash> |
+ |
+Running: taggedTemplate |
+====== 8< ------ |
+escapeHtml`<div class=${classnName} width=${a + b}/>`; |
+ |
+------ >8 ====== |
+Correct mapping for <escapeHtml> |
+Correct mapping for <width> |
+ |
+Running: escapedApostrophe |
+====== 8< ------ |
+var a=`That`s great!`; |
+------ >8 ====== |
+Correct mapping for <That> |
+Correct mapping for <great> |
+ |