On Mon, Jul 18, 2011 at 12:16 PM, Kerrick Staley <[email protected]> wrote: > Also, can anyone recommend a way to easily test a change such as this?
Probably not what you want to hear, but you can create a unit test suite, which would be trivial for a function such as this (no state or I/O). Pacman/libalpm has functional tests, as described in ./test/pacman/README.
