-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
util: Test #781
base: master
Are you sure you want to change the base?
util: Test #781
Conversation
These will keep failing because of the commit message. Look at the tests. Lmk if you need more help. |
I will look into it. |
You can easily rename a bunch with: |
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 for all the tests.
For a first start, can you please rename the commit messages so they have the right format, typically util: Test blah blah...
in this case.
Next see the other misc things, then we'll do a final review. Thank you!
Sorry for the delay, I've been at the FOSDEM+CfgMgmtCamp conference stuff.
3858b69
to
c3af7a4
Compare
I expect to still see failures, test is here: https://github.com/purpleidea/mgmt/blob/master/test/test-commit-message.sh#L17 So for example a valid commit is: foo: Hello something an invalid commit is: foo: hello something Note the capitalization. |
c3af7a4
to
77dc6a8
Compare
The goal of this PR to test cover util/util.go and increase it from 64.8% to 100% since almost all the util functions are testable
