Unnamed repository; edit this file 'description' to name the repository.
Format launch config test
Run the VS Code formatter to fix the remaining Prettier issue in the launch config test before updating rust-lang/rust-analyzer#22103. AI-assisted: OpenAI Codex was used to identify and apply this change.
Josh McKinney 7 weeks ago
parent 42ad014 · commit ca8d508
-rw-r--r--editors/code/tests/unit/launch_config.test.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/editors/code/tests/unit/launch_config.test.ts b/editors/code/tests/unit/launch_config.test.ts
index 69be84dcea..9bba33f8e9 100644
--- a/editors/code/tests/unit/launch_config.test.ts
+++ b/editors/code/tests/unit/launch_config.test.ts
@@ -109,7 +109,10 @@ export async function getTests(ctx: Context) {
suite.addTest("resolves cargo from provided PATH", async () => {
const tempDir = await mkdtemp(path.join(os.tmpdir(), "ra-cargo-path-"));
try {
- const cargoBinary = path.join(tempDir, process.platform === "win32" ? "cargo.exe" : "cargo");
+ const cargoBinary = path.join(
+ tempDir,
+ process.platform === "win32" ? "cargo.exe" : "cargo",
+ );
await writeFile(cargoBinary, "");
assert.strictEqual(await cargoPath({ PATH: tempDir }), "cargo");