tests: simplify code
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 18 Jun 2014 14:52:52 +0000 (17:52 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 15:44:22 +0000 (18:44 +0300)
commit6ffa1695769d0227e28715f7e77cdc49aeab1b8c
tree3546a9d235348b72a0f693c69948e831ef8c817b
parentc210ee95f22e90733eceeb18b9ca1914ff29e482
tests: simplify code

Use error_abort instead of open-coded assert.
Cleaner and shorter.

Reported-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
tests/test-string-input-visitor.c