Skip to content

Commit db3f7c5

Browse files
committed
Update test baselines
1 parent b4a382b commit db3f7c5

111 files changed

Lines changed: 424 additions & 424 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tests/cases/fourslash/autoFormattingOnPasting.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ public testMethod( )
1111
}`);
1212
// We're missing scenarios of formatting option settings due to bug 693273 - [TypeScript] Need to improve fourslash support for formatting options.
1313
// Missing scenario ** Uncheck Tools->Options->Text Editor->TypeScript->Formatting->General->Format on paste **
14-
//verify.currentFileContentIs("module TestModule {\r\n\
15-
// class TestClass{\r\n\
16-
//private foo;\r\n\
17-
//public testMethod( )\r\n\
18-
//{}\r\n\
19-
//}\r\n\
14+
//verify.currentFileContentIs("module TestModule {\n\
15+
// class TestClass{\n\
16+
//private foo;\n\
17+
//public testMethod( )\n\
18+
//{}\n\
19+
//}\n\
2020
//}");
2121
// Missing scenario ** Check Tools->Options->Text Editor->TypeScript->Formatting->General->Format on paste **
2222
verify.currentFileContentIs(`module TestModule {

tests/cases/fourslash/classInterfaceInsert.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
verify.quickInfoAt("className", "class Sphere");
1313

1414
goTo.marker('interfaceGoesHere');
15-
edit.insert("\r\ninterface Surface {\r\n reflect: () => number;\r\n}\r\n");
15+
edit.insert("\ninterface Surface {\n reflect: () => number;\n}\n");
1616

1717
verify.quickInfoAt("className", "class Sphere");

tests/cases/fourslash/codeFixAddMissingMember.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ verify.codeFix({
1111
index: 0,
1212
// TODO: GH#18445
1313
newFileContent: `class C {
14-
foo: number;\r
14+
foo: number;
1515
method() {
1616
this.foo = 10;
1717
}

tests/cases/fourslash/codeFixAddMissingMember2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ verify.codeFix({
1111
index: 1,
1212
// TODO: GH#18445
1313
newFileContent: `class C {
14-
[x: string]: number;\r
14+
[x: string]: number;
1515
method() {
1616
this.foo = 10;
1717
}

tests/cases/fourslash/codeFixAddMissingMember3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ verify.codeFix({
1111
index: 0,
1212
// TODO: GH#18445
1313
newFileContent: `class C {
14-
static foo: number;\r
14+
static foo: number;
1515
static method() {
1616
this.foo = 10;
1717
}

tests/cases/fourslash/codeFixAddMissingMember4.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ verify.codeFix({
1717
index: 0,
1818
// TODO: GH#18445
1919
newFileContent: `class C {
20-
constructor() {\r
21-
this.foo = undefined;\r
20+
constructor() {
21+
this.foo = undefined;
2222
}
2323
method() {
2424
this.foo === 10;

tests/cases/fourslash/codeFixAddMissingMember5.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ verify.codeFix({
1818
static method() {
1919
()=>{ this.foo === 10 };
2020
}
21-
}\r
22-
C.foo = undefined;\r
21+
}
22+
C.foo = undefined;
2323
`
2424
});

tests/cases/fourslash/codeFixAddMissingMember6.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ verify.codeFix({
1515
index: 0,
1616
// TODO: GH#18445
1717
newFileContent: `class C {
18-
constructor() {\r
19-
this.foo = undefined;\r
18+
constructor() {
19+
this.foo = undefined;
2020
}
2121
prop = ()=>{ this.foo === 10 };
2222
}`

tests/cases/fourslash/codeFixAddMissingMember7.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ verify.codeFix({
1414
// TODO: GH#18445
1515
newFileContent: `class C {
1616
static p = ()=>{ this.foo === 10 };
17-
}\r
18-
C.foo = undefined;\r
17+
}
18+
C.foo = undefined;
1919
`
2020
});

tests/cases/fourslash/codeFixAddMissingMember_all.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ verify.codeFixAll({
1313
newFileContent:
1414
// TODO: GH#18445
1515
`class C {
16-
x: number;\r
17-
y(): any {\r
18-
throw new Error("Method not implemented.");\r
19-
}\r
16+
x: number;
17+
y(): any {
18+
throw new Error("Method not implemented.");
19+
}
2020
method() {
2121
this.x = 0;
2222
this.y();

0 commit comments

Comments
 (0)