File tree Expand file tree Collapse file tree 1 file changed +12
-19
lines changed Expand file tree Collapse file tree 1 file changed +12
-19
lines changed Original file line number Diff line number Diff line change @@ -22,22 +22,6 @@ const cases = [
22
22
// }
23
23
// ],
24
24
/////////////////////////////////////////////////////////////////////
25
- [
26
- '#81: invalid trailing backslash at the end should not throw' ,
27
- [
28
- 'test\\' ,
29
- 'testa\\\\' ,
30
- 'foo/*' ,
31
- // test negative pattern
32
- '!foo/test\\'
33
- ] ,
34
- {
35
- 'test' : 0 ,
36
- 'test\\' : 0 ,
37
- 'testa\\' : 1 ,
38
- 'foo/test\\' : 1
39
- }
40
- ] ,
41
25
[
42
26
'#76 (invalid), comments with no heading whitespace' ,
43
27
[
@@ -928,12 +912,21 @@ const IS_WINDOWS = process.platform === 'win32'
928
912
if ( ! IS_WINDOWS && ! process . env . IGNORE_TEST_WIN32 ) {
929
913
cases . push (
930
914
[
931
- '#81: invalid trailing backslash, test non-windows only' ,
915
+ '#81: invalid trailing backslash at the end should not throw , test non-windows env only' ,
932
916
[
933
- '\\'
917
+ 'test\\' ,
918
+ 'testa\\\\' ,
919
+ '\\' ,
920
+ 'foo/*' ,
921
+ // test negative pattern
922
+ '!foo/test\\'
934
923
] ,
935
924
{
936
- '\\' : 0
925
+ 'test' : 0 ,
926
+ 'test\\' :
581C
0 ,
927
+ 'testa\\' : 1 ,
928
+ '\\' : 0 ,
929
+ 'foo/test\\' : 1
937
930
}
938
931
] ,
939
932
[
You can’t perform that action at this time.
0 commit comments