Skip to content

Commit

Permalink
chore: rephrase test descriptions (#1725)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 authored Aug 4, 2020
1 parent e68619d commit 42c7d8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/help/help-single-arg.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { run } = require('../utils/test-utils');
const helpHeader = 'The build tool for modern web applications';

describe('single help flag', () => {
it('respects --color flag as false', () => {
it('respects --no-color flag', () => {
const { stdout, stderr } = run(__dirname, ['--help', '--no-color'], false);
const usage = 'webpack [...options] | <command>';
const example = 'webpack help --flag | <command>';
Expand Down
2 changes: 1 addition & 1 deletion test/info/info-help.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('should print help for info command', () => {
expect(stderr).toHaveLength(0);
});

it('should respect the --color=false flag', () => {
it('should respect the --no-color flag', () => {
const { stdout, stderr } = runInfo(['help', '--no-color'], __dirname);
options.enabled = true;
expect(stdout).not.toContain(yellow(usageText));
Expand Down

0 comments on commit 42c7d8c

Please sign in to comment.