Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

(maint) Make tests compatible with leatherman 0.4 and 0.5 #396

Merged
merged 1 commit into from
Apr 19, 2016

Conversation

parisiale
Copy link
Contributor

Removing the Catch's applyCommandLine() and passing CLI arguments
directly to the Session::run() function; note that setting ConfigData
showDurations to "Always" works in the same way as it's not changed by
our CI pipeline via CLI.

@parisiale parisiale changed the title (maint) Make tests compatible with leathermnan 0.4 and 0.5 (maint) Make tests compatible with leatherman 0.4 and 0.5 Apr 19, 2016
Removing the Catch's applyCommandLine() and passing CLI arguments
directly to the Session::run() function; note that setting ConfigData
showDurations to "Always" works in the same way as it's not changed by
our CI pipeline via CLI.
@@ -16,28 +16,28 @@
#include <leatherman/logging/logging.hpp>
#endif

int main(int argc, const char** argv) {
int main(int argc, char** argv) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Different signature in Catch 1.4.0.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@mruzicka
Copy link
Contributor

LGTM

@mruzicka mruzicka merged commit 55780f0 into puppetlabs-toy-chest:master Apr 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants