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


 

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