diff options
Diffstat (limited to 'unittest/test_conf.c')
-rw-r--r-- | unittest/test_conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittest/test_conf.c b/unittest/test_conf.c index 9938adda..849a2c0b 100644 --- a/unittest/test_conf.c +++ b/unittest/test_conf.c @@ -66,7 +66,7 @@ TEST(conf_create) CHECK(conf->hash_dir); CHECK_STR_EQ("", conf->ignore_headers_in_manifest); CHECK(!conf->keep_comments_cpp); - CHECK_FLOAT_EQ(0.8f, conf->limit_multiple); + CHECK_DOUBLE_EQ(0.8, conf->limit_multiple); CHECK_STR_EQ("", conf->log_file); CHECK_INT_EQ(0, conf->max_files); CHECK_INT_EQ((uint64_t)5 * 1000 * 1000 * 1000, conf->max_size); @@ -157,7 +157,7 @@ TEST(conf_read_valid_config) CHECK(!conf->hash_dir); CHECK_STR_EQ("a:b/c", conf->ignore_headers_in_manifest); CHECK(conf->keep_comments_cpp); - CHECK_FLOAT_EQ(1.0, conf->limit_multiple); + CHECK_DOUBLE_EQ(1.0, conf->limit_multiple); CHECK_STR_EQ_FREE1(format("%s%s", user, user), conf->log_file); CHECK_INT_EQ(17, conf->max_files); CHECK_INT_EQ(123 * 1000 * 1000, conf->max_size); |