We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11eecba commit b954347Copy full SHA for b954347
1 file changed
tests/format/js/quotes/strings.js
@@ -60,8 +60,10 @@
60
'
61
'escaped carriage return \
62
63
-'escaped \u2028 \ '
64
-'escaped \u2029 \ '
+'escaped \u2028 \
+'
65
+'escaped \u2029 \
66
67
68
// One of each.
69
"\"'"
@@ -98,3 +100,8 @@
98
100
// Somewhat more real-word example 2.
99
101
"var backslash = \"\\\", doubleQuote = '\"';"
102
'var backslash = "\\", doubleQuote = \'"\';'
103
+
104
+// Switch quote
105
+console.log(
106
+ "A descriptor\\'s .kind must be \"method\"')",
107
+);
0 commit comments