File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/vs/workbench/contrib/search/test/common Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ suite('extractRangeFromFilter', () => {
12
12
assert . ok ( ! extractRangeFromFilter ( '' ) ) ;
13
13
assert . ok ( ! extractRangeFromFilter ( '/some/path' ) ) ;
14
14
assert . ok ( ! extractRangeFromFilter ( '/some/path/file.txt' ) ) ;
15
+ assert . ok ( ! extractRangeFromFilter ( '/some/@path' ) , 'paths like as /node_modules/@types/ should be supported' ) ;
15
16
16
17
for ( const lineSep of [ ':' , '#' , '(' , ':line ' ] ) {
17
18
for ( const colSep of [ ':' , '#' , ',' ] ) {
@@ -44,7 +45,7 @@ suite('extractRangeFromFilter', () => {
44
45
} ) ;
45
46
46
47
test ( 'unless' , async function ( ) {
47
- const res = extractRangeFromFilter ( '/some/path/file.txt@ (19,20)' , [ '@' ] ) ;
48
+ const res = extractRangeFromFilter ( '@ /some/path/file.txt (19,20)' , [ '@' ] ) ;
48
49
49
50
assert . ok ( ! res ) ;
50
51
} ) ;
You can’t perform that action at this time.
0 commit comments