32 lines
518 B
TypeScript
32 lines
518 B
TypeScript
|
/// <reference path='fourslash.ts' />
|
||
|
|
||
|
////try {
|
||
|
//// throw 10;
|
||
|
////
|
||
|
//// try {
|
||
|
//// [|throw|] 10;
|
||
|
//// }
|
||
|
//// catch (x) {
|
||
|
//// throw 10;
|
||
|
//// }
|
||
|
//// finally {
|
||
|
//// throw 10;
|
||
|
//// }
|
||
|
////}
|
||
|
////finally {
|
||
|
//// throw 10;
|
||
|
////}
|
||
|
////
|
||
|
////throw 10;
|
||
|
|
||
|
test.ranges().forEach(r => {
|
||
|
goTo.position(r.start);
|
||
|
|
||
|
test.ranges().forEach(range => {
|
||
|
verify.occurrencesAtPositionContains(range, false);
|
||
|
});
|
||
|
|
||
|
verify.occurrencesAtPositionCount(test.ranges().length);
|
||
|
});
|
||
|
|