From df882a2e6c6fd93025c3b9d7f82d02252d9f3e20 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 9 Nov 2013 21:25:02 +0000 Subject: [PATCH] Make [25064] lint-free. see #25854. git-svn-id: https://develop.svn.wordpress.org/trunk@26066 602fd350-edb4-49c9-b593-d223f7449a82 --- Gruntfile.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index d2673cbada..6c3eae428a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -160,7 +160,7 @@ module.exports = function(grunt) { files: ['tests/qunit/**/*.html'] }, phpunit: { - default: { + 'default': { cmd: 'phpunit', args: ['-c', 'phpunit.xml.dist'] }, @@ -274,17 +274,17 @@ module.exports = function(grunt) { 'uglify:tinymce', 'concat:tinymce', 'compress:tinymce', 'clean:tinymce']); // Testing tasks. - grunt.registerMultiTask('phpunit', "Runs PHPUnit tests, including the ajax and multisite tests.", function() { - grunt.util.spawn({ - cmd: this.data.cmd, - args: this.data.args, - opts: {stdio: 'inherit'} - }, this.async()); + grunt.registerMultiTask('phpunit', 'Runs PHPUnit tests, including the ajax and multisite tests.', function() { + grunt.util.spawn({ + cmd: this.data.cmd, + args: this.data.args, + opts: {stdio: 'inherit'} + }, this.async()); }); - grunt.registerTask('qunit:compiled', "Runs QUnit tests on compiled as well as uncompiled scripts.", + grunt.registerTask('qunit:compiled', 'Runs QUnit tests on compiled as well as uncompiled scripts.', ['build', 'copy:qunit', 'qunit', 'clean:qunit']); - grunt.registerTask('test', "Runs all QUnit and PHPUnit tasks.", ['qunit:compiled', 'phpunit']); + grunt.registerTask('test', 'Runs all QUnit and PHPUnit tasks.', ['qunit:compiled', 'phpunit']); // Default task. grunt.registerTask('default', ['build']);