tests: Fix wrong operator 54/237954/2
authorsanghyeok.oh <sanghyeok.oh@samsung.com>
Tue, 7 Jul 2020 02:47:07 +0000 (11:47 +0900)
committersanghyeok.oh <sanghyeok.oh@samsung.com>
Tue, 7 Jul 2020 02:59:08 +0000 (11:59 +0900)
Change-Id: Ieb322a7824b29818f112b0fccd81e02821a48e24
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
tests/test-common.c

index c659557..95844ae 100644 (file)
@@ -119,7 +119,7 @@ void test_parse_bytes_positive()
        assert(w == 0U * 1024 * 1024);
 
        assert(parse_bytes("23232323", &w) == 0);
-       assert(w = 23232323);
+       assert(w == 23232323);
 
        assert(parse_bytes("1G", &w) == 0);
        assert(w == 1U * 1024 * 1024 * 1024);