Improve test coverage

This commit is contained in:
jrenslin committed 2024-07-11 14:53:05 +02:00
1 parent fb008e1b59
commit 11faeaa7e7
8 files changed
+944 -156

No files matched your search

+1 -1
View File
@@ -351,7 +351,7 @@ public static function sanitize_float(string $input):float {
$output = \str_replace(",", ".", $input);
if (($output = \filter_var($output, FILTER_VALIDATE_FLOAT)) === false) {
throw new MDgenericInvalidInputsException("Input is readable as a floating point value");
throw new MDgenericInvalidInputsException("Input is not readable as a floating point value");
}
return $output;