From a05cccaa4fdf1536606d0434cbe85f41e833ea53 Mon Sep 17 00:00:00 2001 From: Juan Peri Date: Mon, 2 Sep 2024 09:53:43 +0200 Subject: [PATCH] fix test with relative path --- test/settings_test.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/settings_test.exs b/test/settings_test.exs index 07c3197c..66e5869f 100644 --- a/test/settings_test.exs +++ b/test/settings_test.exs @@ -15,7 +15,8 @@ defmodule Excoveralls.SettingsTest do test "returns default file path" do assert(Settings.Files.default_file - |> Path.relative_to(File.cwd!) == "lib/excoveralls/../conf/coveralls.json") + |> Path.expand() + |> Path.relative_to(File.cwd!) == "lib/conf/coveralls.json") end test "returns custom file path" do