Skip to content

Commit 624abd6

Browse files
committed
Add tags to the wholeword test and update results
1 parent f45c9e6 commit 624abd6

File tree

7 files changed

+43
-1
lines changed

7 files changed

+43
-1
lines changed

tests/wholeword.vim

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,19 @@ let g:EasyGrepMode=3
77
edit __wholeword.in
88

99
" Search no whole word
10-
Grep whole
10+
ResultListTag GrepAdd whole
11+
GrepAdd whole
12+
ResultListTag GrepAdd word
1113
GrepAdd word
14+
ResultListTag GrepAdd wholeword
1215
GrepAdd wholeword
1316

1417
" Explicit whole word
18+
ResultListTag GrepAdd -w whole
1519
GrepAdd -w whole
20+
ResultListTag GrepAdd -w word
1621
GrepAdd -w word
22+
ResultListTag GrepAdd -w wholeword
1723
GrepAdd -w wholeword
1824

1925
cclose

tests/wholeword_ack.ok

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1+
__wholeword.in|1 col 1| GrepAdd whole
12
__wholeword.in|1 col 0| 1:whole
23
__wholeword.in|3 col 0| 1:wholeword
34
__wholeword.in|4 col 0| 5:wordwholeword
5+
__wholeword.in|1 col 1| GrepAdd word
46
__wholeword.in|2 col 0| 1:word
57
__wholeword.in|3 col 0| 6:wholeword
68
__wholeword.in|4 col 0| 1:wordwholeword
9+
__wholeword.in|1 col 1| GrepAdd wholeword
710
__wholeword.in|3 col 0| 1:wholeword
811
__wholeword.in|4 col 0| 5:wordwholeword
12+
__wholeword.in|1 col 1| GrepAdd -w whole
913
__wholeword.in|1 col 0| 1:whole
14+
__wholeword.in|1 col 1| GrepAdd -w word
1015
__wholeword.in|2 col 0| 1:word
16+
__wholeword.in|1 col 1| GrepAdd -w wholeword
1117
__wholeword.in|3 col 0| 1:wholeword

tests/wholeword_ag.ok

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1+
__wholeword.in|1 col 1| GrepAdd whole
12
1|1 col 0| whole
23
3|1 col 0| wholeword
34
4|5 col 0| wordwholeword
5+
__wholeword.in|1 col 1| GrepAdd word
46
2|1 col 0| word
57
3|6 col 0| wholeword
68
4|1 col 0| wordwholeword
9+
__wholeword.in|1 col 1| GrepAdd wholeword
710
3|1 col 0| wholeword
811
4|5 col 0| wordwholeword
12+
__wholeword.in|1 col 1| GrepAdd -w whole
913
1|1 col 0| whole
14+
__wholeword.in|1 col 1| GrepAdd -w word
1015
2|1 col 0| word
16+
__wholeword.in|1 col 1| GrepAdd -w wholeword
1117
3|1 col 0| wholeword

tests/wholeword_findstr.ok

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1+
__wholeword.in|1 col 1| GrepAdd whole
12
__wholeword.in|0 col 0| 1:whole
23
__wholeword.in|0 col 0| 3:wholeword
34
__wholeword.in|0 col 0| 4:wordwholeword
5+
__wholeword.in|1 col 1| GrepAdd word
46
__wholeword.in|0 col 0| 2:word
57
__wholeword.in|0 col 0| 3:wholeword
68
__wholeword.in|0 col 0| 4:wordwholeword
9+
__wholeword.in|1 col 1| GrepAdd wholeword
710
__wholeword.in|0 col 0| 3:wholeword
811
__wholeword.in|0 col 0| 4:wordwholeword
12+
__wholeword.in|1 col 1| GrepAdd -w whole
913
__wholeword.in|0 col 0| 1:whole
14+
__wholeword.in|1 col 1| GrepAdd -w word
1015
__wholeword.in|0 col 0| 2:word
16+
__wholeword.in|1 col 1| GrepAdd -w wholeword
1117
__wholeword.in|0 col 0| 3:wholeword

tests/wholeword_grep.ok

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1+
__wholeword.in|1 col 1| GrepAdd whole
12
__wholeword.in|0 col 0| 1:whole
23
__wholeword.in|0 col 0| 3:wholeword
34
__wholeword.in|0 col 0| 4:wordwholeword
5+
__wholeword.in|1 col 1| GrepAdd word
46
__wholeword.in|0 col 0| 2:word
57
__wholeword.in|0 col 0| 3:wholeword
68
__wholeword.in|0 col 0| 4:wordwholeword
9+
__wholeword.in|1 col 1| GrepAdd wholeword
710
__wholeword.in|0 col 0| 3:wholeword
811
__wholeword.in|0 col 0| 4:wordwholeword
12+
__wholeword.in|1 col 1| GrepAdd -w whole
913
__wholeword.in|0 col 0| 1:whole
14+
__wholeword.in|1 col 1| GrepAdd -w word
1015
__wholeword.in|0 col 0| 2:word
16+
__wholeword.in|1 col 1| GrepAdd -w wholeword
1117
__wholeword.in|0 col 0| 3:wholeword

tests/wholeword_pt.ok

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1+
__wholeword.in|1 col 1| GrepAdd whole
12
__wholeword.in|1 col 0| whole
23
__wholeword.in|3 col 0| wholeword
34
__wholeword.in|4 col 0| wordwholeword
5+
__wholeword.in|1 col 1| GrepAdd word
46
__wholeword.in|2 col 0| word
57
__wholeword.in|3 col 0| wholeword
68
__wholeword.in|4 col 0| wordwholeword
9+
__wholeword.in|1 col 1| GrepAdd wholeword
710
__wholeword.in|3 col 0| wholeword
811
__wholeword.in|4 col 0| wordwholeword
12+
__wholeword.in|1 col 1| GrepAdd -w whole
913
__wholeword.in|1 col 0| whole
14+
__wholeword.in|1 col 1| GrepAdd -w word
1015
__wholeword.in|2 col 0| word
16+
__wholeword.in|1 col 1| GrepAdd -w wholeword
1117
__wholeword.in|3 col 0| wholeword

tests/wholeword_vimgrep.ok

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1+
__wholeword.in|1 col 1| GrepAdd whole
12
__wholeword.in|1 col 1| whole
23
__wholeword.in|3 col 1| wholeword
34
__wholeword.in|4 col 5| wordwholeword
5+
__wholeword.in|1 col 1| GrepAdd word
46
__wholeword.in|2 col 1| word
57
__wholeword.in|3 col 6| wholeword
68
__wholeword.in|4 col 1| wordwholeword
9+
__wholeword.in|1 col 1| GrepAdd wholeword
710
__wholeword.in|3 col 1| wholeword
811
__wholeword.in|4 col 5| wordwholeword
12+
__wholeword.in|1 col 1| GrepAdd -w whole
913
__wholeword.in|1 col 1| whole
14+
__wholeword.in|1 col 1| GrepAdd -w word
1015
__wholeword.in|2 col 1| word
16+
__wholeword.in|1 col 1| GrepAdd -w wholeword
1117
__wholeword.in|3 col 1| wholeword

0 commit comments

Comments
 (0)