|
2 | 2 |
|
3 | 3 | exports[`dedent can be used as a function 1`] = `"A test argument."`; |
4 | 4 |
|
5 | | -exports[`dedent doesn't strip exlicit newlines 1`] = ` |
| 5 | +exports[`dedent doesn't strip explicit newlines 1`] = ` |
6 | 6 | "<p>Hello world!</p> |
7 | 7 | " |
8 | 8 | `; |
9 | 9 |
|
10 | | -exports[`dedent doesn't strip exlicit newlines with mindent 1`] = ` |
| 10 | +exports[`dedent doesn't strip explicit newlines with mindent 1`] = ` |
11 | 11 | "<p> |
12 | 12 | Hello world! |
13 | 13 | </p> |
14 | 14 | " |
15 | 15 | `; |
16 | 16 |
|
17 | | -exports[`dedent escapes backticks 1`] = `"\`"`; |
| 17 | +exports[`dedent function character escapes default behavior does not escape backticks 1`] = `"\`"`; |
18 | 18 |
|
19 | | -exports[`dedent escapes dollar signs 1`] = `"$"`; |
| 19 | +exports[`dedent function character escapes default behavior does not escape dollar signs 1`] = `"$"`; |
20 | 20 |
|
21 | | -exports[`dedent escapes opening braces 1`] = `"{"`; |
| 21 | +exports[`dedent function character escapes default behavior does not escape opening braces 1`] = `"{"`; |
22 | 22 |
|
23 | | -exports[`dedent ignores closing braces 1`] = `"\\}"`; |
| 23 | +exports[`dedent function character escapes default behavior escapes double-escaped backticks 1`] = `"\\\`"`; |
| 24 | +
|
| 25 | +exports[`dedent function character escapes default behavior escapes double-escaped dollar signs 1`] = `"\\$"`; |
| 26 | +
|
| 27 | +exports[`dedent function character escapes default behavior escapes double-escaped opening braces 1`] = `"\\{"`; |
| 28 | +
|
| 29 | +exports[`dedent function character escapes default behavior ignores closing braces 1`] = `"}"`; |
| 30 | +
|
| 31 | +exports[`dedent function character escapes with escapeSpecialCharacters false backticks 1`] = `"\`"`; |
| 32 | +
|
| 33 | +exports[`dedent function character escapes with escapeSpecialCharacters false dollar signs 1`] = `"$"`; |
| 34 | +
|
| 35 | +exports[`dedent function character escapes with escapeSpecialCharacters false double-escaped backticks 1`] = `"\\\`"`; |
| 36 | +
|
| 37 | +exports[`dedent function character escapes with escapeSpecialCharacters false double-escaped dollar signs 1`] = `"\\$"`; |
| 38 | +
|
| 39 | +exports[`dedent function character escapes with escapeSpecialCharacters false double-escaped opening braces 1`] = `"\\{"`; |
| 40 | +
|
| 41 | +exports[`dedent function character escapes with escapeSpecialCharacters false opening braces 1`] = `"{"`; |
| 42 | +
|
| 43 | +exports[`dedent function character escapes with escapeSpecialCharacters true backticks 1`] = `"\`"`; |
| 44 | +
|
| 45 | +exports[`dedent function character escapes with escapeSpecialCharacters true dollar signs 1`] = `"$"`; |
| 46 | +
|
| 47 | +exports[`dedent function character escapes with escapeSpecialCharacters true double-escaped backticks 1`] = `"\`"`; |
| 48 | +
|
| 49 | +exports[`dedent function character escapes with escapeSpecialCharacters true double-escaped dollar signs 1`] = `"$"`; |
| 50 | +
|
| 51 | +exports[`dedent function character escapes with escapeSpecialCharacters true double-escaped opening braces 1`] = `"{"`; |
| 52 | +
|
| 53 | +exports[`dedent function character escapes with escapeSpecialCharacters true opening braces 1`] = `"{"`; |
| 54 | +
|
| 55 | +exports[`dedent function character escapes with escapeSpecialCharacters undefined backticks 1`] = `"\`"`; |
| 56 | +
|
| 57 | +exports[`dedent function character escapes with escapeSpecialCharacters undefined dollar signs 1`] = `"$"`; |
| 58 | +
|
| 59 | +exports[`dedent function character escapes with escapeSpecialCharacters undefined double-escaped backticks 1`] = `"\\\`"`; |
| 60 | +
|
| 61 | +exports[`dedent function character escapes with escapeSpecialCharacters undefined double-escaped dollar signs 1`] = `"\\$"`; |
| 62 | +
|
| 63 | +exports[`dedent function character escapes with escapeSpecialCharacters undefined double-escaped opening braces 1`] = `"\\{"`; |
| 64 | +
|
| 65 | +exports[`dedent function character escapes with escapeSpecialCharacters undefined opening braces 1`] = `"{"`; |
24 | 66 |
|
25 | 67 | exports[`dedent single line input works with single line and closing backtick on newline 1`] = `"A single line of input."`; |
26 | 68 |
|
27 | 69 | exports[`dedent single line input works with single line and inline closing backtick 1`] = `"A single line of input."`; |
28 | 70 |
|
29 | 71 | exports[`dedent single line input works with single line input 1`] = `"A single line of input."`; |
30 | 72 |
|
| 73 | +exports[`dedent string tag character escapes default behavior escapes backticks 1`] = `"\`"`; |
| 74 | +
|
| 75 | +exports[`dedent string tag character escapes default behavior escapes dollar signs 1`] = `"$"`; |
| 76 | +
|
| 77 | +exports[`dedent string tag character escapes default behavior escapes opening braces 1`] = `"{"`; |
| 78 | +
|
| 79 | +exports[`dedent string tag character escapes default behavior ignores closing braces 1`] = `"\\}"`; |
| 80 | +
|
| 81 | +exports[`dedent string tag character escapes with escapeSpecialCharacters false backticks 1`] = `"\\\`"`; |
| 82 | +
|
| 83 | +exports[`dedent string tag character escapes with escapeSpecialCharacters false dollar signs 1`] = `"\\$"`; |
| 84 | +
|
| 85 | +exports[`dedent string tag character escapes with escapeSpecialCharacters false opening braces 1`] = `"\\{"`; |
| 86 | +
|
| 87 | +exports[`dedent string tag character escapes with escapeSpecialCharacters true backticks 1`] = `"\`"`; |
| 88 | +
|
| 89 | +exports[`dedent string tag character escapes with escapeSpecialCharacters true dollar signs 1`] = `"$"`; |
| 90 | +
|
| 91 | +exports[`dedent string tag character escapes with escapeSpecialCharacters true opening braces 1`] = `"{"`; |
| 92 | +
|
| 93 | +exports[`dedent string tag character escapes with escapeSpecialCharacters undefined backticks 1`] = `"\`"`; |
| 94 | +
|
| 95 | +exports[`dedent string tag character escapes with escapeSpecialCharacters undefined dollar signs 1`] = `"$"`; |
| 96 | +
|
| 97 | +exports[`dedent string tag character escapes with escapeSpecialCharacters undefined opening braces 1`] = `"{"`; |
| 98 | +
|
31 | 99 | exports[`dedent works with blank first line 1`] = ` |
32 | 100 | "Some text that I might want to indent: |
33 | 101 | * reasons |
|
0 commit comments