Code review comment for lp:~jtv/gwacl/storage-keys

Revision history for this message
Julian Edwards (julian-edwards) wrote :

On Friday 29 Mar 2013 05:44:21 you wrote:
> +
> + c.Check(keys.Primary, Equals, primaryKey)
> + c.Check(keys.Secondary, Equals, secondaryKey)
> + c.Check(keys.Url, Equals, url)
> +}

You can do this as a single check if you set up an "expected" struct and do a
DeepEquals. See the storage tests (some of which do this).

« Back to merge proposal