mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 09:25:44 +01:00
fix bug on windows tests failing; out was containing rubbish data
This commit is contained in:
@@ -102,7 +102,7 @@ struct test_procval_int {
|
|||||||
};
|
};
|
||||||
int test_procval_int(void* arg) {
|
int test_procval_int(void* arg) {
|
||||||
struct test_procval_int* dat = arg;
|
struct test_procval_int* dat = arg;
|
||||||
u64 out;
|
u64 out = 0;
|
||||||
return assert_true(!conf_procval(&(struct conf_entry){NULL, &out, dat->type}, dat->val)) ||
|
return assert_true(!conf_procval(&(struct conf_entry){NULL, &out, dat->type}, dat->val)) ||
|
||||||
assert_true(out == dat->xres);
|
assert_true(out == dat->xres);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user