added test
This commit is contained in:
parent
578013b65c
commit
9959ce449e
1 changed files with 21 additions and 0 deletions
21
tests/cases/fourslash/quickInfoOnNewKeyword01.ts
Normal file
21
tests/cases/fourslash/quickInfoOnNewKeyword01.ts
Normal file
|
@ -0,0 +1,21 @@
|
|||
/// <reference path='fourslash.ts' />
|
||||
|
||||
////class Cat {
|
||||
//// /**
|
||||
//// * NOTE: this constructor is private! Please use the factory function
|
||||
//// */
|
||||
//// private constructor() { }
|
||||
////
|
||||
//// static makeCat() { new Cat(); }
|
||||
////}
|
||||
////
|
||||
////ne/*1*/w Ca/*2*/t(/*3*/);
|
||||
|
||||
verify.quickInfoAt('1', 'constructor Cat(): Cat',
|
||||
'NOTE: this constructor is private! Please use the factory function');
|
||||
|
||||
verify.quickInfoAt('2', 'constructor Cat(): Cat',
|
||||
'NOTE: this constructor is private! Please use the factory function');
|
||||
|
||||
verify.quickInfoAt('3', 'constructor Cat(): Cat',
|
||||
'NOTE: this constructor is private! Please use the factory function');
|
Loading…
Reference in a new issue