TypeScript/tests/cases/fourslash/signatureHelpNegativeTests.ts

16 lines
428 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts' />
// Negative tests
//////inside a comment foo(/*insideComment*/
////cl/*invalidContext*/ass InvalidSignatureHelpLocation { }
////InvalidSignatureHelpLocation(/*validContext*/);
2014-07-13 01:04:16 +02:00
goTo.marker('insideComment');
verify.not.signatureHelpPresent();
goTo.marker('invalidContext');
verify.not.signatureHelpPresent();
goTo.marker('validContext');
verify.not.signatureHelpPresent();