Skip to content

Commit

Permalink
fix: tweak
Browse files Browse the repository at this point in the history
update snapshots and fix typo
  • Loading branch information
jamesgeorge007 committed Dec 22, 2019
1 parent 2e633cb commit 463f642
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions e2e/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ const matchSnapshot = async (t, arg) => {

test('shows help with -h flag', matchSnapshot, '-h');
test('shows help with --help flag', matchSnapshot, '--help');
test('shows help with -v flag', matchSnapshot, '-v');
test('shows help with --version flag', matchSnapshot, '--version');
test('shows version information with -v flag', matchSnapshot, '-v');
test('shows version information with --version flag', matchSnapshot, '--version');
20 changes: 10 additions & 10 deletions e2e/index.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,6 @@ Generated by [AVA](https://ava.li).
Development:␊
https://github.com/docsifyjs/docsify-cli/blob/master/CONTRIBUTING.md`

## shows help with -v flag

> Snapshot 1
`␊
docsify-cli version:␊
4.4.0␊
`

## shows up help message without any args

> Snapshot 1
Expand All @@ -81,7 +72,16 @@ Generated by [AVA](https://ava.li).
[ERROR] 0 arguments passed. Please specify a command`

## shows help with --version flag
## shows version information with --version flag

> Snapshot 1
`␊
docsify-cli version:␊
4.4.0␊
`

## shows version information with -v flag

> Snapshot 1
Expand Down
Binary file modified e2e/index.js.snap
Binary file not shown.

0 comments on commit 463f642

Please sign in to comment.