Skip to content

Commit

Permalink
fix test with relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
juanperi committed Sep 2, 2024
1 parent cc1e82b commit a05ccca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/settings_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a05ccca

Please sign in to comment.