]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virjsontest: Use a more stable floating point number for testing
authorJán Tomko <jtomko@redhat.com>
Thu, 11 Jan 2018 13:41:58 +0000 (14:41 +0100)
committerJán Tomko <jtomko@redhat.com>
Wed, 4 Apr 2018 13:08:32 +0000 (15:08 +0200)
commit3487973ee0c730b6fbfc6183af798c46ae3b85ff
tree4d28b03402149fa28f6c6f0001510caaaa34fde6
parent608938419b216abd92fa4ea0ddaaab01d610c735
virjsontest: Use a more stable floating point number for testing

We store all JSON numbers as strings. To allow using json libraries
that store them in numeric types, use a more predictable and normalized
value.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
tests/virjsontest.c