Skip to content

Commit f45c9e6

Browse files
committed
Update the casesensitivity test with tags for which test is being run
1 parent 4963ca8 commit f45c9e6

7 files changed

+57
-1
lines changed

tests/casesensitivity.vim

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,24 @@ edit alphabet.in
1010

1111
" case-sensitive
1212
let g:EasyGrepIgnoreCase=0
13-
Grep c
13+
ResultListTag GrepAdd c g:EasyGrepIgnoreCase=0
14+
GrepAdd c
15+
ResultListTag GrepAdd C g:EasyGrepIgnoreCase=0
1416
GrepAdd C
17+
ResultListTag GrepAdd -I c
1518
GrepAdd -I c
19+
ResultListTag GrepAdd -I C
1620
GrepAdd -I C
1721

1822
" case-insensitive
1923
let g:EasyGrepIgnoreCase=1
24+
ResultListTag GrepAdd c g:EasyGrepIgnoreCase=1
2025
GrepAdd c
26+
ResultListTag GrepAdd C g:EasyGrepIgnoreCase=1
2127
GrepAdd C
28+
ResultListTag GrepAdd -i c
2229
GrepAdd -i c
30+
ResultListTag GrepAdd -i C
2331
GrepAdd -i C
2432

2533
cclose

tests/casesensitivity_ack.ok

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1+
alphabet.in|1 col 1| GrepAdd c g:EasyGrepIgnoreCase=0
12
alphabet.in|3 col 0| 1:c
3+
alphabet.in|1 col 1| GrepAdd C g:EasyGrepIgnoreCase=0
24
alphabet.in|29 col 0| 1:C
5+
alphabet.in|1 col 1| GrepAdd -I c
36
alphabet.in|3 col 0| 1:c
7+
alphabet.in|1 col 1| GrepAdd -I C
48
alphabet.in|29 col 0| 1:C
9+
alphabet.in|1 col 1| GrepAdd c g:EasyGrepIgnoreCase=1
510
alphabet.in|3 col 0| 1:c
611
alphabet.in|29 col 0| 1:C
12+
alphabet.in|1 col 1| GrepAdd C g:EasyGrepIgnoreCase=1
713
alphabet.in|3 col 0| 1:c
814
alphabet.in|29 col 0| 1:C
15+
alphabet.in|1 col 1| GrepAdd -i c
916
alphabet.in|3 col 0| 1:c
1017
alphabet.in|29 col 0| 1:C
18+
alphabet.in|1 col 1| GrepAdd -i C
1119
alphabet.in|3 col 0| 1:c
1220
alphabet.in|29 col 0| 1:C

tests/casesensitivity_ag.ok

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1+
alphabet.in|1 col 1| GrepAdd c g:EasyGrepIgnoreCase=0
12
3|1 col 0| c
3+
alphabet.in|1 col 1| GrepAdd C g:EasyGrepIgnoreCase=0
24
29|1 col 0| C
5+
alphabet.in|1 col 1| GrepAdd -I c
36
3|1 col 0| c
7+
alphabet.in|1 col 1| GrepAdd -I C
48
29|1 col 0| C
9+
alphabet.in|1 col 1| GrepAdd c g:EasyGrepIgnoreCase=1
510
3|1 col 0| c
611
29|1 col 0| C
12+
alphabet.in|1 col 1| GrepAdd C g:EasyGrepIgnoreCase=1
713
3|1 col 0| c
814
29|1 col 0| C
15+
alphabet.in|1 col 1| GrepAdd -i c
916
3|1 col 0| c
1017
29|1 col 0| C
18+
alphabet.in|1 col 1| GrepAdd -i C
1119
3|1 col 0| c
1220
29|1 col 0| C

tests/casesensitivity_findstr.ok

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1+
alphabet.in|1 col 1| GrepAdd c g:EasyGrepIgnoreCase=0
12
alphabet.in|0 col 0| 3:c
3+
alphabet.in|1 col 1| GrepAdd C g:EasyGrepIgnoreCase=0
24
alphabet.in|0 col 0| 29:C
5+
alphabet.in|1 col 1| GrepAdd -I c
36
alphabet.in|0 col 0| 3:c
7+
alphabet.in|1 col 1| GrepAdd -I C
48
alphabet.in|0 col 0| 29:C
9+
alphabet.in|1 col 1| GrepAdd c g:EasyGrepIgnoreCase=1
510
alphabet.in|0 col 0| 3:c
611
alphabet.in|0 col 0| 29:C
12+
alphabet.in|1 col 1| GrepAdd C g:EasyGrepIgnoreCase=1
713
alphabet.in|0 col 0| 3:c
814
alphabet.in|0 col 0| 29:C
15+
alphabet.in|1 col 1| GrepAdd -i c
916
alphabet.in|0 col 0| 3:c
1017
alphabet.in|0 col 0| 29:C
18+
alphabet.in|1 col 1| GrepAdd -i C
1119
alphabet.in|0 col 0| 3:c
1220
alphabet.in|0 col 0| 29:C

tests/casesensitivity_grep.ok

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1+
alphabet.in|1 col 1| GrepAdd c g:EasyGrepIgnoreCase=0
12
alphabet.in|0 col 0| 3:c
3+
alphabet.in|1 col 1| GrepAdd C g:EasyGrepIgnoreCase=0
24
alphabet.in|0 col 0| 29:C
5+
alphabet.in|1 col 1| GrepAdd -I c
36
alphabet.in|0 col 0| 3:c
7+
alphabet.in|1 col 1| GrepAdd -I C
48
alphabet.in|0 col 0| 29:C
9+
alphabet.in|1 col 1| GrepAdd c g:EasyGrepIgnoreCase=1
510
alphabet.in|0 col 0| 3:c
611
alphabet.in|0 col 0| 29:C
12+
alphabet.in|1 col 1| GrepAdd C g:EasyGrepIgnoreCase=1
713
alphabet.in|0 col 0| 3:c
814
alphabet.in|0 col 0| 29:C
15+
alphabet.in|1 col 1| GrepAdd -i c
916
alphabet.in|0 col 0| 3:c
1017
alphabet.in|0 col 0| 29:C
18+
alphabet.in|1 col 1| GrepAdd -i C
1119
alphabet.in|0 col 0| 3:c
1220
alphabet.in|0 col 0| 29:C

tests/casesensitivity_pt.ok

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1+
alphabet.in|1 col 1| GrepAdd c g:EasyGrepIgnoreCase=0
12
alphabet.in|3 col 0| c
3+
alphabet.in|1 col 1| GrepAdd C g:EasyGrepIgnoreCase=0
24
alphabet.in|29 col 0| C
5+
alphabet.in|1 col 1| GrepAdd -I c
36
alphabet.in|3 col 0| c
7+
alphabet.in|1 col 1| GrepAdd -I C
48
alphabet.in|29 col 0| C
9+
alphabet.in|1 col 1| GrepAdd c g:EasyGrepIgnoreCase=1
510
alphabet.in|3 col 0| c
611
alphabet.in|29 col 0| C
12+
alphabet.in|1 col 1| GrepAdd C g:EasyGrepIgnoreCase=1
713
alphabet.in|3 col 0| c
814
alphabet.in|29 col 0| C
15+
alphabet.in|1 col 1| GrepAdd -i c
916
alphabet.in|3 col 0| c
1017
alphabet.in|29 col 0| C
18+
alphabet.in|1 col 1| GrepAdd -i C
1119
alphabet.in|3 col 0| c
1220
alphabet.in|29 col 0| C

tests/casesensitivity_vimgrep.ok

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1+
alphabet.in|1 col 1| GrepAdd c g:EasyGrepIgnoreCase=0
12
alphabet.in|3 col 1| c
3+
alphabet.in|1 col 1| GrepAdd C g:EasyGrepIgnoreCase=0
24
alphabet.in|29 col 1| C
5+
alphabet.in|1 col 1| GrepAdd -I c
36
alphabet.in|3 col 1| c
7+
alphabet.in|1 col 1| GrepAdd -I C
48
alphabet.in|29 col 1| C
9+
alphabet.in|1 col 1| GrepAdd c g:EasyGrepIgnoreCase=1
510
alphabet.in|3 col 1| c
611
alphabet.in|29 col 1| C
12+
alphabet.in|1 col 1| GrepAdd C g:EasyGrepIgnoreCase=1
713
alphabet.in|3 col 1| c
814
alphabet.in|29 col 1| C
15+
alphabet.in|1 col 1| GrepAdd -i c
916
alphabet.in|3 col 1| c
1017
alphabet.in|29 col 1| C
18+
alphabet.in|1 col 1| GrepAdd -i C
1119
alphabet.in|3 col 1| c
1220
alphabet.in|29 col 1| C

0 commit comments

Comments
 (0)