mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-10-30 12:56:01 +00:00
print_number: Remove trailing zeroes (for doubles)
This commit is contained in:
1 parent
e78bc42362
commit
1ea72f8260
4 files changed
+47
-6
No files matched your search
+1
-1
@@ -66,7 +66,7 @@ static void print_value_should_print_false(void)
|
||||
|
||||
static void print_value_should_print_number(void)
|
||||
{
|
||||
assert_print_value("1.500000");
|
||||
assert_print_value("1.5");
|
||||
}
|
||||
|
||||
static void print_value_should_print_string(void)
|
||||
|
||||
Reference in new issue
Block a user