Skip to content

Commit

Permalink
Remove unused tags
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatakeshi committed Jun 28, 2024
1 parent 56e9d2a commit 41f3c72
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 6 additions & 2 deletions test/gitly_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ defmodule GitlyTest do
end

test "gitly/3 downloads and extracts a repository using a different ref" do
{:ok, path} = Gitly.gitly("iwatakeshi/gitly", ref: "master", root: Path.join(@gitly_dir, ["online", "3"]))
{:ok, path} =
Gitly.gitly("iwatakeshi/gitly",
ref: "master",
root: Path.join(@gitly_dir, ["online", "3"])
)

assert File.exists?(path)
assert File.dir?(path)
assert File.exists?(Path.join(path, "README.md"))
Expand Down Expand Up @@ -92,7 +97,6 @@ defmodule GitlyTest do
assert {:error, _} = Gitly.gitly("uncached/repo", root: @gitly_dir)
end

@tag :only
test "gitly/2 with force option returns error when offline" do
# Req.Test.stub(ReqStub, fn conn ->
# Req.Test.transport_error(conn, :econnrefused)
Expand Down
2 changes: 0 additions & 2 deletions test/utils/archive/archive_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ defmodule GitlyUtilsArchiveTest do
"https://github.com/owner/repo/archive/ref.tar.gz"
end

@tag :download
test "download" do
# Test successful download
# dest = @download_dir
Expand All @@ -58,7 +57,6 @@ defmodule GitlyUtilsArchiveTest do
end)
end

@tag :extract
test "extract/2" do
# Download the archive

Expand Down

0 comments on commit 41f3c72

Please sign in to comment.