mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-11 16:38:46 -05:00
Added tests.
This commit is contained in:
@@ -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");
|
||||
Reference in New Issue
Block a user