Skip to content

Commit 9959ce4

Browse files
committed
added test
1 parent 578013b commit 9959ce4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/// <reference path='fourslash.ts' />
2+
3+
////class Cat {
4+
//// /**
5+
//// * NOTE: this constructor is private! Please use the factory function
6+
//// */
7+
//// private constructor() { }
8+
////
9+
//// static makeCat() { new Cat(); }
10+
////}
11+
////
12+
////ne/*1*/w Ca/*2*/t(/*3*/);
13+
14+
verify.quickInfoAt('1', 'constructor Cat(): Cat',
15+
'NOTE: this constructor is private! Please use the factory function');
16+
17+
verify.quickInfoAt('2', 'constructor Cat(): Cat',
18+
'NOTE: this constructor is private! Please use the factory function');
19+
20+
verify.quickInfoAt('3', 'constructor Cat(): Cat',
21+
'NOTE: this constructor is private! Please use the factory function');

0 commit comments

Comments
 (0)