Skip to content

Commit 463f642

Browse files
fix: tweak
update snapshots and fix typo
1 parent 2e633cb commit 463f642

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

e2e/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ const matchSnapshot = async (t, arg) => {
1818

1919
test('shows help with -h flag', matchSnapshot, '-h');
2020
test('shows help with --help flag', matchSnapshot, '--help');
21-
test('shows help with -v flag', matchSnapshot, '-v');
22-
test('shows help with --version flag', matchSnapshot, '--version');
21+
test('shows version information with -v flag', matchSnapshot, '-v');
22+
test('shows version information with --version flag', matchSnapshot, '--version');

e2e/index.js.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,6 @@ Generated by [AVA](https://ava.li).
4848
Development:␊
4949
https://github.com/docsifyjs/docsify-cli/blob/master/CONTRIBUTING.md`
5050

51-
## shows help with -v flag
52-
53-
> Snapshot 1
54-
55-
`␊
56-
docsify-cli version:␊
57-
4.4.0␊
58-
`
59-
6051
## shows up help message without any args
6152

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

84-
## shows help with --version flag
75+
## shows version information with --version flag
76+
77+
> Snapshot 1
78+
79+
`␊
80+
docsify-cli version:␊
81+
4.4.0␊
82+
`
83+
84+
## shows version information with -v flag
8585

8686
> Snapshot 1
8787

e2e/index.js.snap

-8 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)