Add test for completionEntryDetails

This commit is contained in:
Mohamed Hegazy
2015-02-15 18:24:30 -08:00
parent 8944df18d4
commit 76c7fdf6d1
3 changed files with 44 additions and 7 deletions

View File

@@ -0,0 +1,18 @@
/// <reference path="fourslash.ts" />
////class Foo {
////}
////module Foo {
//// export var x: number;
////}
////Foo./**/
goTo.marker("");
verify.completionListContains("x");
// Make an edit
edit.insert("a");
edit.backspace();
// Checking for completion details after edit should work too
verify.completionEntryDetailIs("x", "(var) Foo.x: number");