From 1ed40f74f998c59ed009eeeba3cd2b52205d1001 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lindqvist?= Date: Wed, 28 Jun 2017 11:01:32 +0200 Subject: [PATCH] math.parser: fill argument must not be an empty byte-array --- core/math/parser/parser-tests.factor | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/math/parser/parser-tests.factor b/core/math/parser/parser-tests.factor index 017f208d79..b3b889c0c1 100644 --- a/core/math/parser/parser-tests.factor +++ b/core/math/parser/parser-tests.factor @@ -475,7 +475,13 @@ unit-test { B{ 49 46 53 53 69 43 48 53 } } [ - 155000.0 B{ } -1 3 B{ 69 0 } B{ 67 0 } (format-float) + 155000.0 B{ 0 } -1 3 B{ 69 0 } B{ 67 0 } (format-float) +] unit-test + +{ + B{ 32 32 32 32 32 32 32 49 46 53 53 69 43 48 53 } +} [ + 155000.0 B{ 0 } 15 3 B{ 69 0 } B{ 67 0 } (format-float) ] unit-test ! Missing locale