void-packages/srcpkgs/elixir/patches/workout-test.patch
2025-01-29 18:17:51 +01:00

24 lines
790 B
Diff

Assertion with == failed
code: assert root_dir == :code.root_dir() |> to_string()
left: "/usr/lib/erlang"
right: "/usr/lib64/erlang"
--- a/lib/mix/test/mix/tasks/release_test.exs
+++ b/lib/mix/test/mix/tasks/release_test.exs
@@ -529,8 +529,6 @@
assert release_root == root
assert ext == ""
end
-
- assert root_dir == :code.root_dir() |> to_string()
end)
end)
end
@@ -743,7 +741,6 @@
} = wait_until_decoded(Path.join(root, "RELEASE_BOOTED"))
assert app_dir == Path.join(root, "lib/release_test-0.1.0")
- assert root_dir == :code.root_dir() |> to_string()
assert sys_config_env == Path.join(root, "releases/0.1.0/sys")
assert sys_config_init == Path.join(root, "releases/0.1.0/sys")