Added tests.

This commit is contained in:
Daniel Rosenwasser 2015-08-26 15:48:49 -07:00
parent 8a4c56bb76
commit 50127a5adf
2 changed files with 27 additions and 0 deletions

View File

@ -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");

View File

@ -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");