/** @overview nodeunit test case. */

var testResource = require('../../../test_resource'),
    _expandGlobUnlessIgnored = require('../../../../task/worker/_expand_glob_unless_ignored.js');

exports.setUp = function (done) {
    done();
};

exports.tearDown = function (done) {
    done();
};


exports['Expand glob unless ignored.'] = function (test) {
    _expandGlobUnlessIgnored(
        testResource.resolveMockFile('mock_modules/*'),
        [],
        function (err, filenames) {
            test.ifError(err);
            test.ok(filenames);
            test.done();
        }
    );
};