File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -2297,9 +2297,6 @@ Deno.test("glob", async () => {
22972297 } ) ;
22982298
22992299 await withTempDir ( async ( tempDir ) => {
2300- const builderPathLen = tempDir . toString ( ) . length ;
2301- const errorPos = builderPathLen + 1 ;
2302-
23032300 tempDir . join ( "test.txt" ) . writeTextSync ( "test\n" ) ;
23042301 tempDir . join ( "test2.txt" ) . writeTextSync ( "test2\n" ) ;
23052302
@@ -2308,7 +2305,7 @@ Deno.test("glob", async () => {
23082305 . replaceAll ( tempDir . realPathSync ( ) . toString ( ) , "$TEMP_DIR" ) ;
23092306 assertEquals (
23102307 stderr ,
2311- `glob: no matches found '$TEMP_DIR/[].ts'. Pattern syntax error near position ${ errorPos } : invalid range pattern \n` ,
2308+ `glob: no matches found '$TEMP_DIR/[].ts'\n` ,
23122309 ) ;
23132310 } ) ;
23142311
You can’t perform that action at this time.
0 commit comments