2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2014-11-22 01:50:39 +01:00
|
|
|
////(function [|foo|](): number {
|
|
|
|
//// var x = [|foo|];
|
2014-07-13 01:04:16 +02:00
|
|
|
//// return 0;
|
|
|
|
////})
|
|
|
|
|
|
|
|
|
2014-11-22 01:50:39 +01:00
|
|
|
test.ranges().forEach(r => {
|
|
|
|
goTo.position(r.start);
|
|
|
|
verify.occurrencesAtPositionCount(2);
|
|
|
|
|
|
|
|
test.ranges().forEach(range => {
|
|
|
|
verify.occurrencesAtPositionContains(range);
|
|
|
|
});
|
|
|
|
});
|