test: JSON_BUILD_REAL nowadays expects 'double', not 'long double'

Follow-up for 337712e777, aka "the great
un-long-double-ification of 2021".
This commit is contained in:
Lennart Poettering
2022-05-09 14:32:31 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent 3a466defd4
commit f9a1fd2a3b
+1 -1
View File
@@ -315,7 +315,7 @@ TEST(build) {
a = json_variant_unref(a);
b = json_variant_unref(b);
assert_se(json_build(&a, JSON_BUILD_REAL(M_PIl)) >= 0);
assert_se(json_build(&a, JSON_BUILD_REAL(M_PI)) >= 0);
s = mfree(s);
assert_se(json_variant_format(a, 0, &s) >= 0);