rillig / gobco

Measure branch coverage of golang tests
62 stars 12 forks source link

Fix compile error #6

Closed myzhan closed 5 years ago

myzhan commented 5 years ago

gobco doesn't compile on macOS and go1.11.1, trying to compile with them.

rillig commented 5 years ago

Thanks for the notice. Your code had a little bug: it would only set g.exitCode on Unix systems, but not on Windows. Therefore I rather just used 1 as a fixed exit code, which should be ok for most cases.

myzhan commented 5 years ago

Looks good to me