We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fa686c commit 3849e91Copy full SHA for 3849e91
src/commands/support.test.ts
@@ -1,4 +1,5 @@
1
import * as assert from "assert";
2
+import { normalize } from "path";
3
import * as sinon from "sinon";
4
import { Uri } from "vscode";
5
import * as logging from "../logging";
@@ -48,6 +49,7 @@ describe("commands/support.ts", function () {
48
49
it("sidecarLogFileUri() should return the correct URI for the sidecar log file", function () {
50
const logFileUri: Uri = sidecarLogFileUri();
51
- assert.strictEqual(logFileUri.path, SIDECAR_LOGFILE_PATH);
52
+ // normalized to adjust slashes for Windows vs Unix
53
+ assert.strictEqual(logFileUri.path, Uri.file(normalize(SIDECAR_LOGFILE_PATH)).path);
54
});
55
0 commit comments