fixed typo in test name
This commit is contained in:
parent
6040e55fa4
commit
da6070bcf7
2 changed files with 7 additions and 22 deletions
|
@ -1,18 +0,0 @@
|
||||||
/// <reference path='fourslash.ts'/>
|
|
||||||
|
|
||||||
/////*0*/
|
|
||||||
////interface A {
|
|
||||||
//// foo: string;
|
|
||||||
////}
|
|
||||||
////function foo(x: A) {
|
|
||||||
//// x.f/*1*/oo
|
|
||||||
////}
|
|
||||||
|
|
||||||
goTo.marker("1");
|
|
||||||
verify.occurrencesAtPositionCount(2);
|
|
||||||
|
|
||||||
goTo.marker("0");
|
|
||||||
edit.insert("\r\n");
|
|
||||||
|
|
||||||
goTo.marker("1");
|
|
||||||
verify.occurrencesAtPositionCount(2);
|
|
|
@ -1,15 +1,18 @@
|
||||||
/// <reference path='fourslash.ts'/>
|
/// <reference path='fourslash.ts'/>
|
||||||
|
|
||||||
/////*0*/
|
/////*0*/
|
||||||
////function f(s: string) {
|
////interface A {
|
||||||
//// s.con/*1*/structor
|
//// foo: string;
|
||||||
|
////}
|
||||||
|
////function foo(x: A) {
|
||||||
|
//// x.f/*1*/oo
|
||||||
////}
|
////}
|
||||||
|
|
||||||
goTo.marker("1");
|
goTo.marker("1");
|
||||||
verify.occurrencesAtPositionCount(1);
|
verify.occurrencesAtPositionCount(2);
|
||||||
|
|
||||||
goTo.marker("0");
|
goTo.marker("0");
|
||||||
edit.insert("\r\n");
|
edit.insert("\r\n");
|
||||||
|
|
||||||
goTo.marker("1");
|
goTo.marker("1");
|
||||||
verify.occurrencesAtPositionCount(1);
|
verify.occurrencesAtPositionCount(2);
|
Loading…
Reference in a new issue