Skip to content

Commit

Permalink
Update: Improve test titles
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Dec 21, 2017
1 parent b77252e commit bfac1d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/flags-task-simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var output = fs.readFileSync(__dirname + '/expected/flags-tasks-simple.txt', 'ut

lab.experiment('flag: --tasks-simple', function () {

lab.test('prints the task list', function (done) {
lab.test('prints the task list in simple format', function (done) {
child.exec('node ' + __dirname + '/../bin/gulp.js --tasks-simple --cwd ./test', function(err, stdout) {
code.expect(stdout).to.equal(output);
done(err);
Expand Down
2 changes: 1 addition & 1 deletion test/flags-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var gulpVersion = require('gulp/package.json').version;

lab.experiment('flag: --version', function () {

lab.test('prints the task list', function (done) {
lab.test('prints the version of CLI and local gulp', function (done) {
child.exec('node ' + __dirname + '/../bin/gulp.js --version --cwd ./test', function(err, stdout) {
code.expect(stdout).to.contain('CLI version ' + cliVersion);
code.expect(stdout).to.contain('Local version ' + gulpVersion);
Expand Down

0 comments on commit bfac1d2

Please sign in to comment.