mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-07 14:34:35 -06:00
update tests
This commit is contained in:
parent
2a2595fc5f
commit
0dcc8deace
@ -2,4 +2,4 @@
|
||||
////function f( f: function){/*1*/
|
||||
goTo.marker("1");
|
||||
edit.insert("}");
|
||||
verify.currentLineContentIs("function f(f: function){ }")
|
||||
verify.currentLineContentIs("function f(f: function) { }")
|
||||
@ -4,6 +4,6 @@
|
||||
/////*2*/type Stylet = { new () {} }
|
||||
format.document();
|
||||
goTo.marker("1");
|
||||
verify.currentLineContentIs("interface Gourai { new() {} }");
|
||||
verify.currentLineContentIs("interface Gourai { new() { } }");
|
||||
goTo.marker("2");
|
||||
verify.currentLineContentIs("type Stylet = { new() {} }");
|
||||
verify.currentLineContentIs("type Stylet = { new() { } }");
|
||||
@ -14,7 +14,7 @@ verify.currentLineContentIs('foo(): Bar { }');
|
||||
goTo.marker('2');
|
||||
verify.currentLineContentIs('function Foo() # { }');
|
||||
goTo.marker('3');
|
||||
verify.currentLineContentIs('4 +:5');
|
||||
verify.currentLineContentIs('4 +: 5');
|
||||
goTo.marker('4');
|
||||
verify.currentLineContentIs(' : T) { }');
|
||||
goTo.marker('5');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user