Added test coverage to much of the small bit of the library that was untested. Discov... master
authorMichael Edgar <michael.j.edgar@dartmouth.edu>
Thu, 2 Sep 2010 08:02:21 +0000 (04:02 -0400)
committerMichael Edgar <michael.j.edgar@dartmouth.edu>
Thu, 2 Sep 2010 08:02:21 +0000 (04:02 -0400)
commite5451bb493911638a64a6196b1abc20ed43d051b
treedd558b7187775f839701880898befad30d34da47
parent64128abd8daf3def5ed14a20028ca518a3a7a36c
Added test coverage to much of the small bit of the library that was untested. Discovered two unreachable branches by virtue of this cleanup. Without proper mocking, the last 3 bits of code that aren't covered by C0 will be pretty annoying.
lib/trollop.rb
test/test_trollop.rb