How to test os.exit scenarios in Go

Given this code func doomed() { os.Exit(1) } How do I properly test that calling this function will result in an exit using go test? This needs to occur within a suite of tests, in other words t...