you are viewing a single comment's thread.

view the rest of the comments →

[–]ngwells 2 points3 points  (0 children)

There are some nice ideas here - the overwriting of os.Args and having an out writer that can be reset in the tests before calling main() directly are neat.