projects
/
platform
/
core
/
system
/
resourced.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc24c35
)
tests: Fix wrong operator
54/237954/2
author
sanghyeok.oh
<sanghyeok.oh@samsung.com>
Tue, 7 Jul 2020 02:47:07 +0000
(11:47 +0900)
committer
sanghyeok.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
patch
|
blob
|
history
diff --git
a/tests/test-common.c
b/tests/test-common.c
index
c659557
..
95844ae
100644
(file)
--- a/
tests/test-common.c
+++ b/
tests/test-common.c
@@
-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);