prettytest
prettytest copied to clipboard
Unable to install PrettyAutoTest
$ go get -v github.com/remogatto/prettytest/pta/ github.com/remogatto/prettytest/pta
github.com/remogatto/prettytest/pta
github.com/remogatto/prettytest/pta/main.go:107: undefined: application.Fatal github.com/remogatto/prettytest/pta/main.go:147: undefined: application.Fatal github.com/remogatto/prettytest/pta/main.go:224: undefined: application.Fatal github.com/remogatto/prettytest/pta/main.go:236: too many arguments in call to application.Run
$ pta -bash: pta: command not found
I noticed this yesterday (2014-09-16).
I got it working again by doing the following:
- Add the following function to src/github.com/remogatto/application/application.go
func Fatal(v ...interface{}) { fmt.Printf("v: %v\n", v) os.Exit(1) }
- Remove parameter from Run call in src/github.com/remogatto/prettytest/pta/main.go (on line 236)
// application.Run(exitCh) application.Run()
Could you produce a pull request for that? Thanks.
Sure. I have a couple other fixes to add, too. I'll get to that tomorrow (9/25) morning.
Cool! Thanks!
@l3x I used your changes and got pta
to install and run, but I can't get it to quit, no matter how many times I hit ^C