git-radar icon indicating copy to clipboard operation
git-radar copied to clipboard

Hotfix/unittests

Open cbandera opened this issue 10 years ago • 3 comments

This is a pull request to fix issue #38. As it turns out, some built in commands behave differently on Mac OS X and Linux.

In order to run the tests on Linux, I have added switch statements at some points to call the functions with the respective syntax.

Also I realized, that the tests only worked for me when I set the following options:

  • git config --global push.default simple
  • git config --global branch.autosetuprebase never

But that's probably just because these should be the defaults. I normally have them set to something else...

cbandera avatar Sep 17 '15 19:09 cbandera

@michaeldfallen No interest in this one? ;)

cbandera avatar Oct 16 '15 14:10 cbandera

Only no time to check that it works on OSX and Ubuntu (my current platforms of choice). Wish I could automate the testing of these PRs but the test suite cd's all over the place and Travis don't allow any of that :unamused:

michaeldfallen avatar Oct 16 '15 16:10 michaeldfallen

Will get to it, promise.

michaeldfallen avatar Oct 16 '15 16:10 michaeldfallen