commit | 147731258d6087bc3ba0b299009bc2a3beec3c99 | [log] [tgz] |
---|---|---|
author | Eric Blake <eblake@redhat.com> | Mon Sep 11 12:19:46 2017 -0500 |
committer | Thomas Huth <thuth@redhat.com> | Fri Sep 15 09:05:19 2017 +0200 |
tree | d70b2b3d7aaf408ab5202812461a8684b97ebd4a | |
parent | f94b3f64e6572c8cec73a538588f7cd754bcfa88 [diff] |
qtest: Don't perform side effects inside assertion Assertions should be separate from the side effects, since in theory, g_assert() can be disabled (in practice, we can't really ever do that). Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>