Răsfoiți Sursa

Removed disabled JSCS rule. Fixed test string.

Maksymilian Barnaś 9 ani în urmă
părinte
comite
fb65e69280
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 2
      dev/tests/dev/sanitize.js

+ 1 - 2
dev/tests/dev/sanitize.js

@@ -17,8 +17,7 @@ describe( 'utils', () => {
 			it( 'should be defined', () => expect( sanitize.appendPeriodIfMissing ).to.be.a( 'function' ) );
 
 			it( 'should trim whitespace/new lines to empty string', () => {
-				// jscs: disable validateQuoteMarks
-				const sanitized = sanitize.appendPeriodIfMissing( "\n\t\r " );
+				const sanitized = sanitize.appendPeriodIfMissing( '\n\t\r ' );
 
 				expect( sanitized ).to.equal( '' );
 			} );