Skip to content

Commit 20ba379

Browse files
committed
[ change ] Remove Registry fiddling on Windows in Test__Util.makeAndLoad
1 parent 07f76fb commit 20ba379

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

lib/js/test/tests/Test__Util.bs.js

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/tests/Test__Util.res

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -422,26 +422,6 @@ module AgdaMode = {
422422
let channels = activateExtension()
423423
let state = await load(channels, rawFilepath)
424424

425-
// On Windows, ensure the registry entry uses the same path format as the context
426-
// The state may have been stored with a normalized path, so we need to update it
427-
if !OS.onUnix {
428-
// Store the registry entry with the normalized path that Main.res expects
429-
let normalizedPath = Parser.filepath(rawFilepath)
430-
Registry.add(normalizedPath, state)
431-
// Also store with the raw path for the test context
432-
Registry.add(rawFilepath, state)
433-
}
434-
435-
// On Windows, ensure the registry entry uses the same path format as the context
436-
// The state may have been stored with a normalized path, so we need to update it
437-
if !OS.onUnix {
438-
// Store the registry entry with the normalized path that Main.res expects
439-
let normalizedPath = Parser.filepath(rawFilepath)
440-
Registry.add(normalizedPath, state)
441-
// Also store with the raw path for the test context
442-
Registry.add(rawFilepath, state)
443-
}
444-
445425
{
446426
filepath: rawFilepath,
447427
channels,

0 commit comments

Comments
 (0)