TypeScript/tests/cases/fourslash/paramHelpOnCommaInString.ts
2014-09-22 15:03:40 -07:00

11 lines
365 B
TypeScript

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