Browse Source

Removed disabled JSCS rule. Fixed test string.

Maksymilian Barnaś 9 years ago
parent
commit
fb65e69280
1 changed files with 1 additions and 2 deletions
  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( '' );
 			} );