ggilder / bitrot

MIT License
2 stars 2 forks source link

Fix error behavior/testing #22

Open ggilder opened 9 years ago

ggilder commented 9 years ago

Rather than panicking in any of the Execute methods or subroutines, we should return an error. That way, we can assert against the error in test, and it will bubble up as the return value of parser.Parse() so that we can handle it properly in production.

cc @faun