Skip to content

Commit 2564324

Browse files
committed
u
1 parent 8ce3826 commit 2564324

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/tests/tsconfig_project_references.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,13 @@ fn solution_style_non_ts_extensions() {
272272
// Any explicitly-included extension works, not just `.vue`.
273273
(f.join("src/Widget.svelte"), "@/components/HelloWorld.vue", hello.clone()),
274274
// `.ts` importers keep working (no regression).
275-
(f.join("src/main.ts"), "@/components/HelloWorld.vue", hello.clone()),
275+
(f.join("src/main.ts"), "@/components/HelloWorld.vue", hello),
276276
(f.join("src/main.ts"), "@/util.ts", f.join("src/util.ts")),
277277
];
278278

279279
for (path, request, expected) in pass {
280-
let resolved = resolver.resolve_file(&path, request).map(|f| f.full_path());
281-
assert_eq!(resolved, Ok(expected), "{request} from {path:?}");
280+
let resolved_path = resolver.resolve_file(&path, request).map(|f| f.full_path());
281+
assert_eq!(resolved_path, Ok(expected), "{request} from {path:?}");
282282
}
283283

284284
// The referenced project owns the `.vue` / `.svelte` / `.ts` files through

0 commit comments

Comments
 (0)