New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ProjectM 3.1.12 (new formula) #71139
Conversation
Formula requires real test block instead of current stub |
Not really sure what I'm doing wrong in my tests |
The test should be a command a user would issue. And check if the output is as expected. You're currently just checking if files exist (and they don't all exist). |
I don't understand why the exists check fails though |
It doesn't really matter why, it's not a sufficient test either way so it'll have to be replaced. In most cases, a good test would involve running a simple test case: run #{bin}/foo input.txt.
Some advice for specific cases:
|
Is this new test satisfactory? |
Can you squash all your commits into one with the same title as the PR? |
Squashed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @revmischa ! Without contributions like yours it'd be impossible to keep homebrew going with the high standards that users have come to expect from the project. You can feel good knowing that you've made the world a tiny bit better for homebrew users around the world! 👍 🎉
|
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?