Skip to content

Commit

Permalink
dev-cmd/extract_spec: remove test.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Jun 30, 2024
1 parent be48b47 commit 8de6d51
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Library/Homebrew/test/dev-cmd/extract_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,6 @@
expect(Formulary.factory(path).version).to eq "0.2"
end

it "retrieves the most recent version of formula starting at the specified revision", :integration_test do
path = target[:path]/"Formula/[email protected]"
expect { brew "extract", "testball", target[:name], "--git-revision=HEAD~1" }
.to output(/^#{path}$/).to_stdout
.and not_to_output.to_stderr
.and be_a_success
expect(path).to exist
expect(Formulary.factory(path).version).to eq "0.1"
end

it "retrieves the specified version of formula", :integration_test do
path = target[:path]/"Formula/[email protected]"
expect { brew "extract", "testball", target[:name], "--version=0.1" }
Expand Down

0 comments on commit 8de6d51

Please sign in to comment.