Previously, the test would pass if got and want were different, and
fail if they were equal.
Closes#491.
Change-Id: Ie9b0059595ef85777613578b06c98c10104f4e6a
Note that this is an API-breaking change but should have minimal
impact on users of this package due to the nice inference
properties of the Go programming language.
Bumped `libraryVersion` to `2` due to API-breaking change as
discussed in #376.
Fixes#180.
Change-Id: Ib386135e6b8f306d1f54278968c576f3ceccc4e7