TypeScript/tests/cases/fourslash/getOccurrencesThrow7.ts

32 lines
534 B
TypeScript
Raw Normal View History

/// <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);
});