should probably check if len(line) == 0 ?
i've tried to fix it but unfortunately that breaks the tests.
haven't been able to figure out yet how the tests work, the test against the pretermined checksum is a bit strange.
i would suggest to use something like https://github.com/sergi/go-diff to show what's the diff between expected and resulting file
configparser/configparser.go
Line 71 in 919f287
should probably check if
len(line) == 0?i've tried to fix it but unfortunately that breaks the tests.
haven't been able to figure out yet how the tests work, the test against the pretermined checksum is a bit strange.
i would suggest to use something like https://github.com/sergi/go-diff to show what's the diff between expected and resulting file