testing – How to test os.exit scenarios in Go – Stack Overflow