Hotfix/unittests
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...
@michaeldfallen No interest in this one? ;)
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:
Will get to it, promise.