On 02/23/2017 03:45 PM, Markus Armbruster wrote: > The qobject input visitor comes in a strict and a non-strict variant. > This test is the non-strict variant's last user.
Well, depending on Paolo's proposed addition. > Turns out it relies > on non-strict only in test_visitor_in_null(), and just out of > laziness. We don't actually test the non-strict behavior. > > Clean up test_visitor_in_null(), and switch to the strict variant. > The next commit will drop the non-strict variant. > > Signed-off-by: Markus Armbruster <arm...@redhat.com> > --- > tests/test-qobject-input-visitor.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) I'm in favor of unifying the two tests into one and reducing the duplication (this and the next patch), whether or not we decide that Paolo's patch means we don't want to eliminate non-strict mode. Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature