Skip to content

Commit afbe654

Browse files
committed
fix test failure
1 parent 8c6ae59 commit afbe654

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/vs/editor/contrib/referenceSearch/test/browser/referencesModel.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ suite('references', function () {
2525
}]);
2626

2727
let ref = model.nearestReference(URI.file('/src/can'), new Position(1, 1));
28-
assert.equal(ref.uri.fsPath, '/src/can');
28+
assert.equal(ref.uri.path, '/src/can');
2929

3030
ref = model.nearestReference(URI.file('/src/someOtherFileInSrc'), new Position(1, 1));
31-
assert.equal(ref.uri.fsPath, '/src/can');
31+
assert.equal(ref.uri.path, '/src/can');
3232

3333
ref = model.nearestReference(URI.file('/out/someOtherFile'), new Position(1, 1));
34-
assert.equal(ref.uri.fsPath, '/out/obj/can');
34+
assert.equal(ref.uri.path, '/out/obj/can');
3535

3636
ref = model.nearestReference(URI.file('/out/obj/can2222'), new Position(1, 1));
37-
assert.equal(ref.uri.fsPath, '/out/obj/can2');
37+
assert.equal(ref.uri.path, '/out/obj/can2');
3838
});
3939

4040
});

0 commit comments

Comments
 (0)