TypeScript/tests/cases/fourslash/paramHelpOnCommaInString.ts

11 lines
365 B
TypeScript
Raw Normal View History

2014-08-30 03:02:05 +02:00
/// <reference path='fourslash.ts'/>
////function blah(foo: string, bar: number) {
////}
////blah('hola/*1*/,/*2*/')
// making sure the comma in a string literal doesn't trigger param help on the second function param
goTo.marker('1');
verify.currentParameterHelpArgumentNameIs('foo');
goTo.marker('2');
verify.currentParameterHelpArgumentNameIs('foo');