Skip to content

Commit 9707ef2

Browse files
committed
Update tests and baselines
1 parent 1da8266 commit 9707ef2

File tree

82 files changed

+206
-187
lines changed

Some content is hidden

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

82 files changed

+206
-187
lines changed

tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.ts(26,26): error
1414
}
1515
}
1616

17-
module A{
17+
namespace A{
1818
// expected error
1919
export class Point {
2020
~~~~~

tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace A {
88
}
99
}
1010

11-
module A{
11+
namespace A{
1212
// expected error
1313
export class Point {
1414
origin: number;

tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.symbols

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ namespace A {
1515
}
1616
}
1717

18-
module A{
18+
namespace A{
1919
>A : Symbol(A, Decl(TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.ts, 0, 0), Decl(TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.ts, 5, 1))
2020

2121
// expected error
2222
export class Point {
23-
>Point : Symbol(Point, Decl(TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.ts, 7, 9))
23+
>Point : Symbol(Point, Decl(TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.ts, 7, 12))
2424

2525
origin: number;
2626
>origin : Symbol(Point.origin, Decl(TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.ts, 9, 24))

tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.types

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace A {
1919
}
2020
}
2121

22-
module A{
22+
namespace A{
2323
>A : typeof A
2424
> : ^^^^^^^^
2525

tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedModulesOfTheSameName.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace A.B {
55
export var x: number;
66
}
77

8-
module A{
8+
namespace A{
99
namespace B {
1010
export var x: string;
1111
}

tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedModulesOfTheSameName.symbols

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ namespace A.B {
99
>x : Symbol(x, Decl(TwoInternalModulesThatMergeEachWithExportedModulesOfTheSameName.ts, 1, 14))
1010
}
1111

12-
module A{
12+
namespace A{
1313
>A : Symbol(A, Decl(TwoInternalModulesThatMergeEachWithExportedModulesOfTheSameName.ts, 0, 0), Decl(TwoInternalModulesThatMergeEachWithExportedModulesOfTheSameName.ts, 2, 1))
1414

1515
namespace B {
16-
>B : Symbol(B, Decl(TwoInternalModulesThatMergeEachWithExportedModulesOfTheSameName.ts, 4, 9))
16+
>B : Symbol(B, Decl(TwoInternalModulesThatMergeEachWithExportedModulesOfTheSameName.ts, 4, 12))
1717

1818
export var x: string;
1919
>x : Symbol(x, Decl(TwoInternalModulesThatMergeEachWithExportedModulesOfTheSameName.ts, 6, 18))

tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedModulesOfTheSameName.types

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace A.B {
1212
> : ^^^^^^
1313
}
1414

15-
module A{
15+
namespace A{
1616
>A : typeof A
1717
> : ^^^^^^^^
1818

tests/baselines/reference/cannotInvokeNewOnErrorExpression.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cannotInvokeNewOnErrorExpression.ts(5,22): error TS1011: An element access expre
33

44

55
==== cannotInvokeNewOnErrorExpression.ts (2 errors) ====
6-
module M
6+
namespace M
77
{
88
class ClassA {}
99
}

tests/baselines/reference/cannotInvokeNewOnErrorExpression.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//// [tests/cases/compiler/cannotInvokeNewOnErrorExpression.ts] ////
22

33
//// [cannotInvokeNewOnErrorExpression.ts]
4-
module M
4+
namespace M
55
{
66
class ClassA {}
77
}

tests/baselines/reference/cannotInvokeNewOnErrorExpression.symbols

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//// [tests/cases/compiler/cannotInvokeNewOnErrorExpression.ts] ////
22

33
=== cannotInvokeNewOnErrorExpression.ts ===
4-
module M
4+
namespace M
55
>M : Symbol(M, Decl(cannotInvokeNewOnErrorExpression.ts, 0, 0))
66
{
77
class ClassA {}

0 commit comments

Comments
 (0)