I changed ReadUntilSemiColon so that the lastChar variable checks the last non space or \t character in a line.
All the tests should keep passing (they do on my machine).
N.B: I also changed the instructions on how to run the test script in the README.md file. My default shell is zsh, as such if I just execute ./test.sh the script fails, running bash test.sh yields the expected results.
This PR fixes #22.
I changed
ReadUntilSemiColon
so that thelastChar
variable checks the last non space or\t
character in a line.All the tests should keep passing (they do on my machine).
N.B: I also changed the instructions on how to run the test script in the README.md file. My default shell is zsh, as such if I just execute
./test.sh
the script fails, runningbash test.sh
yields the expected results.