Ok. This is an incredibly convoluted way to test what `generate_deps` does. In a nutshell what we want is to test is "Will generate_deps generate a Godeps file that can mirror my current setup?" Let me propose the following way to do it:

```sh
. assert.sh

# Make a dependency environment with a specific version of a package.
echo "github.com/pote/johnny-deps-testing-package 6596ffa75610ea329fb6ff13ac7da289143d427b" > Godeps
../bin/johnny_deps
../bin/generate_deps > helper.go

# Ensure that generate_deps exited with a successful status code and that helper.go outputs the same as Godeps.
assert "$?" "0"
assert "go run helper.go" "cat Godeps"
```

I see that generate_deps adds some other comments with metadata to it, which is fine, you can change `cat Godeps` to something that ignores the comments so that you first check if the "github.com/pote/johnny-deps-testing-package <commit hash>" is ok, and then you can also add another assert to check that the comments have the correct info on it. 

Also: when I run locally ./bin/generate_deps on my machine after running johnny_deps the following happens.

```
Hyrule ~/code/Work/VividCortex/johnny-deps   (git: issues/23-add-generate-dependencies)
▸ jdeps
github.com/nu7hatch/gotrail (download)
Setting github.com/nu7hatch/gotrail to version v0.0.2
Previous HEAD position was 609e1d0... Marked Go syntax in readme
HEAD is now at 2eb79d1... fixed pic of cat
github.com/pote/johnny-deps-testing-package (download)
Setting github.com/pote/johnny-deps-testing-package to version v5.0
Previous HEAD position was 6596ffa... Update README.md
HEAD is now at 2f8a40e... fasdf
Hyrule ~/code/Work/VividCortex/johnny-deps   (git: issues/23-add-generate-dependencies)
▸ cat Godeps
# A comment here...
github.com/nu7hatch/gotrail v0.0.2
github.com/pote/johnny-deps-testing-package v5.0 # a comment there!

# github.com/pote/johnny-deps-testing-package v5.1
Hyrule ~/code/Work/VividCortex/johnny-deps   (git: issues/23-add-generate-dependencies)
▸ ./bin/
generate_deps  johnny_deps
Hyrule ~/code/Work/VividCortex/johnny-deps   (git: issues/23-add-generate-dependencies)
▸ ./bin/generate_deps
package main
import "fmt"
func init() {
	Godeps += fmt.Sprintln("# Built Thu 22 Aug 2013 17:31:55 UYT with go version go1.1 darwin/386")
	Godeps += fmt.Sprintln()
can't load package: package .: no Go source files in /Users/pote/code/Work/VividCortex/johnny-deps
}
```

So this test is both passing and the tool is broken (or am I using it wrong? that's a possibility). The test needs to pass when the tool works and to fail when the tool doesn't, that's the whole point, if it doesn't then we have a test that passes when the tool is broken, which is the worst possible outcome because we have a false sense of security seeing the pretty green circle badge.