mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Added tests.
This commit is contained in:
parent
8a4c56bb76
commit
50127a5adf
@ -0,0 +1,11 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
////var x = class C {
|
||||
//// /*definition*/constructor() {
|
||||
//// var other = new /*usage*/C;
|
||||
//// }
|
||||
////}
|
||||
|
||||
goTo.marker("usage");
|
||||
goTo.definition();
|
||||
verify.caretAtMarker("definition");
|
||||
@ -0,0 +1,16 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
////namespace Foo {
|
||||
//// export var x;
|
||||
////}
|
||||
////
|
||||
////class Foo {
|
||||
//// /*definition*/constructor() {
|
||||
//// }
|
||||
////}
|
||||
////
|
||||
////var x = new /*usage*/Foo();
|
||||
|
||||
goTo.marker("usage");
|
||||
goTo.definition();
|
||||
verify.caretAtMarker("definition");
|
||||
Loading…
x
Reference in New Issue
Block a user