From dedbf39ab5ec31af14b4d96b1ae32781f410b912 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 11 Jul 2022 12:15:40 +0200 Subject: [PATCH] tests: whitespace is not allowed in number either --- test/test-spa-json.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test-spa-json.c b/test/test-spa-json.c index 849dbc3ef..2a5703973 100644 --- a/test/test-spa-json.c +++ b/test/test-spa-json.c @@ -298,6 +298,9 @@ PWTEST(json_float_check) { "0x0.0", 0 }, { "E10", 0 }, { "e20", 0 }, + { " 0.0", 0 }, + { "0.0 ", 0 }, + { " 0.0 ", 0 }, }; unsigned i; float v;