Merge pull request #9710 from Microsoft/fixAbsolutePath
fix absolute paths in baselines
This commit is contained in:
commit
3625637c95
|
@ -1,13 +1,13 @@
|
||||||
=== tests/cases/compiler/a.ts ===
|
=== /a.ts ===
|
||||||
|
|
||||||
export default { a: 0 };
|
export default { a: 0 };
|
||||||
>a : Symbol(a, Decl(a.ts, 1, 16))
|
>a : Symbol(a, Decl(a.ts, 1, 16))
|
||||||
|
|
||||||
=== tests/cases/compiler/a/index.ts ===
|
=== /a/index.ts ===
|
||||||
export default { aIndex: 0 };
|
export default { aIndex: 0 };
|
||||||
>aIndex : Symbol(aIndex, Decl(index.ts, 0, 16))
|
>aIndex : Symbol(aIndex, Decl(index.ts, 0, 16))
|
||||||
|
|
||||||
=== tests/cases/compiler/a/test.ts ===
|
=== /a/test.ts ===
|
||||||
import a from ".";
|
import a from ".";
|
||||||
>a : Symbol(a, Decl(test.ts, 0, 6))
|
>a : Symbol(a, Decl(test.ts, 0, 6))
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ aIndex.a; //aIndex.aIndex; See GH#9690
|
||||||
>aIndex : Symbol(aIndex, Decl(test.ts, 1, 6))
|
>aIndex : Symbol(aIndex, Decl(test.ts, 1, 6))
|
||||||
>a : Symbol(a, Decl(a.ts, 1, 16))
|
>a : Symbol(a, Decl(a.ts, 1, 16))
|
||||||
|
|
||||||
=== tests/cases/compiler/a/b/test.ts ===
|
=== /a/b/test.ts ===
|
||||||
import a from "..";
|
import a from "..";
|
||||||
>a : Symbol(a, Decl(test.ts, 0, 6))
|
>a : Symbol(a, Decl(test.ts, 0, 6))
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,26 @@
|
||||||
[
|
[
|
||||||
"======== Resolving module '.' from 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a/test.ts'. ========",
|
"======== Resolving module '.' from '/a/test.ts'. ========",
|
||||||
"Explicitly specified module resolution kind: 'NodeJs'.",
|
"Explicitly specified module resolution kind: 'NodeJs'.",
|
||||||
"Loading module as file / folder, candidate module location 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a'.",
|
"Loading module as file / folder, candidate module location '/a'.",
|
||||||
"File 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a.ts' exist - use it as a name resolution result.",
|
"File '/a.ts' exist - use it as a name resolution result.",
|
||||||
"Resolving real path for 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a.ts', result 'c:/users/anhans/work/typescript/tests/cases/compiler/a.ts'",
|
"Resolving real path for '/a.ts', result '/a.ts'",
|
||||||
"======== Module name '.' was successfully resolved to 'c:/users/anhans/work/typescript/tests/cases/compiler/a.ts'. ========",
|
"======== Module name '.' was successfully resolved to '/a.ts'. ========",
|
||||||
"======== Resolving module './' from 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a/test.ts'. ========",
|
"======== Resolving module './' from '/a/test.ts'. ========",
|
||||||
"Explicitly specified module resolution kind: 'NodeJs'.",
|
"Explicitly specified module resolution kind: 'NodeJs'.",
|
||||||
"Loading module as file / folder, candidate module location 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a'.",
|
"Loading module as file / folder, candidate module location '/a'.",
|
||||||
"File 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a.ts' exist - use it as a name resolution result.",
|
"File '/a.ts' exist - use it as a name resolution result.",
|
||||||
"Resolving real path for 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a.ts', result 'c:/users/anhans/work/typescript/tests/cases/compiler/a.ts'",
|
"Resolving real path for '/a.ts', result '/a.ts'",
|
||||||
"======== Module name './' was successfully resolved to 'c:/users/anhans/work/typescript/tests/cases/compiler/a.ts'. ========",
|
"======== Module name './' was successfully resolved to '/a.ts'. ========",
|
||||||
"======== Resolving module '..' from 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a/b/test.ts'. ========",
|
"======== Resolving module '..' from '/a/b/test.ts'. ========",
|
||||||
"Explicitly specified module resolution kind: 'NodeJs'.",
|
"Explicitly specified module resolution kind: 'NodeJs'.",
|
||||||
"Loading module as file / folder, candidate module location 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a'.",
|
"Loading module as file / folder, candidate module location '/a'.",
|
||||||
"File 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a.ts' exist - use it as a name resolution result.",
|
"File '/a.ts' exist - use it as a name resolution result.",
|
||||||
"Resolving real path for 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a.ts', result 'c:/users/anhans/work/typescript/tests/cases/compiler/a.ts'",
|
"Resolving real path for '/a.ts', result '/a.ts'",
|
||||||
"======== Module name '..' was successfully resolved to 'c:/users/anhans/work/typescript/tests/cases/compiler/a.ts'. ========",
|
"======== Module name '..' was successfully resolved to '/a.ts'. ========",
|
||||||
"======== Resolving module '../' from 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a/b/test.ts'. ========",
|
"======== Resolving module '../' from '/a/b/test.ts'. ========",
|
||||||
"Explicitly specified module resolution kind: 'NodeJs'.",
|
"Explicitly specified module resolution kind: 'NodeJs'.",
|
||||||
"Loading module as file / folder, candidate module location 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a'.",
|
"Loading module as file / folder, candidate module location '/a'.",
|
||||||
"File 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a.ts' exist - use it as a name resolution result.",
|
"File '/a.ts' exist - use it as a name resolution result.",
|
||||||
"Resolving real path for 'C:/Users/anhans/work/TypeScript/tests/cases/compiler/a.ts', result 'c:/users/anhans/work/typescript/tests/cases/compiler/a.ts'",
|
"Resolving real path for '/a.ts', result '/a.ts'",
|
||||||
"======== Module name '../' was successfully resolved to 'c:/users/anhans/work/typescript/tests/cases/compiler/a.ts'. ========"
|
"======== Module name '../' was successfully resolved to '/a.ts'. ========"
|
||||||
]
|
]
|
|
@ -1,17 +1,17 @@
|
||||||
=== tests/cases/compiler/a.ts ===
|
=== /a.ts ===
|
||||||
|
|
||||||
export default { a: 0 };
|
export default { a: 0 };
|
||||||
>{ a: 0 } : { a: number; }
|
>{ a: 0 } : { a: number; }
|
||||||
>a : number
|
>a : number
|
||||||
>0 : number
|
>0 : number
|
||||||
|
|
||||||
=== tests/cases/compiler/a/index.ts ===
|
=== /a/index.ts ===
|
||||||
export default { aIndex: 0 };
|
export default { aIndex: 0 };
|
||||||
>{ aIndex: 0 } : { aIndex: number; }
|
>{ aIndex: 0 } : { aIndex: number; }
|
||||||
>aIndex : number
|
>aIndex : number
|
||||||
>0 : number
|
>0 : number
|
||||||
|
|
||||||
=== tests/cases/compiler/a/test.ts ===
|
=== /a/test.ts ===
|
||||||
import a from ".";
|
import a from ".";
|
||||||
>a : { a: number; }
|
>a : { a: number; }
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ aIndex.a; //aIndex.aIndex; See GH#9690
|
||||||
>aIndex : { a: number; }
|
>aIndex : { a: number; }
|
||||||
>a : number
|
>a : number
|
||||||
|
|
||||||
=== tests/cases/compiler/a/b/test.ts ===
|
=== /a/b/test.ts ===
|
||||||
import a from "..";
|
import a from "..";
|
||||||
>a : { a: number; }
|
>a : { a: number; }
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
// @traceResolution: true
|
// @traceResolution: true
|
||||||
// @moduleResolution: node
|
// @moduleResolution: node
|
||||||
|
|
||||||
// @Filename: a.ts
|
// @Filename: /a.ts
|
||||||
export default { a: 0 };
|
export default { a: 0 };
|
||||||
|
|
||||||
// @Filename: a/index.ts
|
// @Filename: /a/index.ts
|
||||||
export default { aIndex: 0 };
|
export default { aIndex: 0 };
|
||||||
|
|
||||||
// @Filename: a/test.ts
|
// @Filename: /a/test.ts
|
||||||
import a from ".";
|
import a from ".";
|
||||||
import aIndex from "./";
|
import aIndex from "./";
|
||||||
a.a;
|
a.a;
|
||||||
aIndex.a; //aIndex.aIndex; See GH#9690
|
aIndex.a; //aIndex.aIndex; See GH#9690
|
||||||
|
|
||||||
// @Filename: a/b/test.ts
|
// @Filename: /a/b/test.ts
|
||||||
import a from "..";
|
import a from "..";
|
||||||
import aIndex from "../";
|
import aIndex from "../";
|
||||||
a.a;
|
a.a;
|
||||||
|
|
Loading…
Reference in a new issue