zettio/weave — pull request #256 by squaremo (2014-12-01 14:27:34+00:00)
Title: Don't splode in error type checks if given nil

These two testing utils assumed that they got an error, and checked its type; however, the most likely failure case is that there's no error (i.e., nil). In that case they would cause a NPE panic.