print_number: Remove trailing zeroes (for doubles)

This commit is contained in:
Max Bruckner committed 2017-03-01 13:22:32 +01:00
1 parent e78bc42362
commit 1ea72f8260
4 files changed
+47 -6

No files matched your search

+1 -1
View File
@@ -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)