Update tests
This commit is contained in:
parent
93a721cf1d
commit
92d2d1957d
|
@ -28,13 +28,13 @@ function M() {
|
|||
}
|
||||
|
||||
var v = new m<number>();
|
||||
>v : <number>
|
||||
>new m<number>() : <number>
|
||||
>v : C<number>
|
||||
>new m<number>() : C<number>
|
||||
>m : typeof C
|
||||
|
||||
return v.f<string>();
|
||||
>v.f<string>() : { t: string; x: number; }
|
||||
>v.f : <T>() => { t: T; x: number; }
|
||||
>v : <number>
|
||||
>v : C<number>
|
||||
>f : <T>() => { t: T; x: number; }
|
||||
}
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
////class Foo {
|
||||
////}
|
||||
////
|
||||
////var x = class /**/Foo {
|
||||
////var x = class [|Foo|] {
|
||||
//// doIt() {
|
||||
//// return Foo;
|
||||
//// return [|Foo|];
|
||||
//// }
|
||||
////
|
||||
//// static doItStatically() {
|
||||
//// return Foo;
|
||||
//// return [|Foo|];
|
||||
//// }
|
||||
////}
|
||||
////
|
||||
|
@ -23,12 +23,10 @@
|
|||
// TODO (yuit): Fix up this test when class expressions are supported.
|
||||
// Just uncomment the below, remove the marker, and add the
|
||||
// appropriate ranges in the test itself.
|
||||
goTo.marker();
|
||||
verify.renameLocations(/*findInStrings*/ false, /*findInComments*/ false);
|
||||
|
||||
////let ranges = test.ranges()
|
||||
////for (let range of ranges) {
|
||||
//// goTo.position(range.start);
|
||||
////
|
||||
//// verify.renameLocations(/*findInStrings*/ false, /*findInComments*/ false);
|
||||
////}
|
||||
let ranges = test.ranges()
|
||||
for (let range of ranges) {
|
||||
goTo.position(range.start);
|
||||
|
||||
verify.renameLocations(/*findInStrings*/ false, /*findInComments*/ false);
|
||||
}
|
Loading…
Reference in a new issue