mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
11 lines
238 B
Ruby
11 lines
238 B
Ruby
![]() |
require "utils/curl"
|
||
|
|
||
|
describe "curl" do
|
||
|
describe "curl_args" do
|
||
|
it "returns -q as the first argument" do
|
||
|
# -q must be the first argument according to "man curl"
|
||
|
expect(curl_args("foo")[1]).to eq("-q")
|
||
|
end
|
||
|
end
|
||
|
end
|