@@ -205,14 +205,13 @@ pref("test.boolean.true", true);
205205 } ) ;
206206
207207 const result = [
208- "pref(\"test.string\", \"hello\");" ,
209- "pref(\"test.quote\", '{\"key\": \"value\"}');" ,
210- "pref(\"test.singleQuote\", \"{key: value}\");" ,
211- "pref(\"test.path\", \"C:\\\\path\\\\to\\\\file\");" ,
212- "pref(\"test.number\", 42);" ,
213- "pref(\"test.-1\", -1);" ,
214- "pref(\"test.boolean\", true);" ,
215- "" ,
208+ `pref(\"test.string\", \"hello\");` ,
209+ `pref(\"test.quote\", "{\\"key\\": \\"value\\"}");` ,
210+ `pref(\"test.singleQuote\", \"{key: value}\");` ,
211+ `pref(\"test.path\", \"C:\\\\path\\\\to\\\\file\");` ,
212+ `pref(\"test.number\", 42);` ,
213+ `pref(\"test.-1\", -1);` ,
214+ `pref(\"test.boolean\", true);` ,
216215 ] . join ( "\n" ) ;
217216
218217 expect ( prefsManager . render ( ) ) . toBe ( result ) ;
@@ -239,9 +238,8 @@ describe("prefs-manager (user_pref)", () => {
239238 } ) ;
240239
241240 const result = [
242- "user_pref(\"test.string\", \"hello\");" ,
243- "user_pref(\"test.number\", 42);" ,
244- "" ,
241+ `user_pref(\"test.string\", \"hello\");` ,
242+ `user_pref(\"test.number\", 42);` ,
245243 ] . join ( "\n" ) ;
246244
247245 expect ( prefsManager . render ( ) ) . toBe ( result ) ;
0 commit comments