Make WordPress Core

Changeset 26066


Ignore:
Timestamp:
11/09/2013 09:25:02 PM (13 years ago)
Author:
nacin
Message:

Make [25064] lint-free. see #25854.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r26064 r26066  
    161161                },
    162162                phpunit: {
    163                         default: {
     163                        'default': {
    164164                                cmd: 'phpunit',
    165165                                args: ['-c', 'phpunit.xml.dist']
     
    275275
    276276        // Testing tasks.
    277         grunt.registerMultiTask('phpunit', "Runs PHPUnit tests, including the ajax and multisite tests.", function() {
    278                 grunt.util.spawn({ 
    279                         cmd: this.data.cmd, 
    280                         args: this.data.args, 
    281                         opts: {stdio: 'inherit'} 
    282                 }, this.async()); 
     277        grunt.registerMultiTask('phpunit', 'Runs PHPUnit tests, including the ajax and multisite tests.', function() {
     278                grunt.util.spawn({
     279                        cmd: this.data.cmd,
     280                        args: this.data.args,
     281                        opts: {stdio: 'inherit'}
     282                }, this.async());
    283283        });
    284284
    285         grunt.registerTask('qunit:compiled', "Runs QUnit tests on compiled as well as uncompiled scripts.",
     285        grunt.registerTask('qunit:compiled', 'Runs QUnit tests on compiled as well as uncompiled scripts.',
    286286                ['build', 'copy:qunit', 'qunit', 'clean:qunit']);
    287         grunt.registerTask('test', "Runs all QUnit and PHPUnit tasks.", ['qunit:compiled', 'phpunit']);
     287        grunt.registerTask('test', 'Runs all QUnit and PHPUnit tasks.', ['qunit:compiled', 'phpunit']);
    288288
    289289        // Default task.
Note: See TracChangeset for help on using the changeset viewer.