Common Dev Problems & Solutions
Cannot run test script on Windows
The test script go.test.sh is a bash script that should run in an Linux environment. Windows uses a different encoding scheme from Linux and Bash in Windows may not recognize the encoded characters, such as line-breaking character.
To remove those characters, you can install dos2unix on your Linux subsystem in Windows, then use dos2linux to covert characters to Linux encoding scheme.
$ dos2unix go.test.sh
Next Question
Template answer goes here
Last updated