Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added test
  • Loading branch information
rpgeeganage committed May 5, 2019
1 parent 578013b commit 9959ce4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/cases/fourslash/quickInfoOnNewKeyword01.ts
@@ -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');

0 comments on commit 9959ce4

Please sign in to comment.