@@ -14,10 +14,10 @@ test('quoteStyle option', function (t) {
1414 t [ 'throws' ] ( function ( ) { inspect ( null , { quoteStyle : function ( ) { } } ) ; } , 'a function is not a valid value' ) ;
1515
1616 t . equal ( inspect ( '"' , { quoteStyle : 'single' } ) , '\'"\'' , 'double quote, quoteStyle: "single"' ) ;
17- t . equal ( inspect ( '"' , { quoteStyle : 'double' } ) , '"""' , 'double quote, quoteStyle: "double"' ) ;
17+ t . equal ( inspect ( '"' , { quoteStyle : 'double' } ) , '"\\ ""' , 'double quote, quoteStyle: "double"' ) ;
1818
1919 t . equal ( inspect ( '\'' , { quoteStyle : 'single' } ) , '\'\\\'\'' , 'single quote, quoteStyle: "single"' ) ;
20- t . equal ( inspect ( '\'' , { quoteStyle : 'double' } ) , '"\\\ '"' , 'single quote, quoteStyle: "double"' ) ;
20+ t . equal ( inspect ( '\'' , { quoteStyle : 'double' } ) , '"\'"' , 'single quote, quoteStyle: "double"' ) ;
2121
2222 t . equal ( inspect ( '`' , { quoteStyle : 'single' } ) , '\'`\'' , 'backtick, quoteStyle: "single"' ) ;
2323 t . equal ( inspect ( '`' , { quoteStyle : 'double' } ) , '"`"' , 'backtick, quoteStyle: "double"' ) ;
0 commit comments