list.sh: improve arg parsing, support brew ls
#29910
Annotations
2 errors
Run brew tests:
home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/list_spec.rb#L11
Homebrew::Cmd::List prints all installed Formulae
Failure/Error:
expect { brew_sh "list", "--formula" }
.to output("#{formulae.join("\n")}\n").to_stdout
.and not_to_output.to_stderr
.and be_a_success
expected block to output "bar\nfoo\nqux\n" to stdout, but output nothing
Diff for (output "bar\nfoo\nqux\n" to stdout):
@@ -1,4 +1 @@
-bar
-foo
-qux
|
Run brew tests
Process completed with exit code 1.
|
Loading