TypeScript/tests/cases/fourslash_old/paramHelpOnCommaInString.ts
2014-07-12 17:30:19 -07:00

11 lines
No EOL
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');