Closed franiglesias closed 5 years ago
So now are tests white-space sensitive? right?
What problems with compability you ran into?
I was having problems running tests in my current installation (Mac OS X):
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)
Copyright (C) 2007 Free Software Foundation, Inc.
I will need some time to test under other conditions to confirm fixes.
general notes:
and oh yes, i am runing it on git-bash.exe
which is based on MINGW64
. FYI :)
major test failing is related to the .semver thing (which was no present when you wrote the tests. Now that I make them run, I think I will better suited to improve things), so I'm going to fix it first and perform some cosmetic changes in the outputs.
I prefer spaces over tabs, yes. :-)
yep, i al looking forward to you fixing tests.. please also comment my code comments
Sorry, I forgot to click the send button 😂
good, when you will send updated commit, i will review it and hopefully all will be nice :)
I guess I need some sleep 💤
With this PR we fix some problems with the CR in test files that was causing problems to compare expected and actual output.
Also switched to use printf instead of echo to better compatibility.
Note that currently not all tests are passing expecting to better design the output of the command.