Spelling: Fix Spelling mistake.
Checks
Commit Message
From: vtran0314 <vinh.t.tran10@gmail.com>
Caught by codespell.
Signed-off-by: Vinh Tran <vinh.t.tran10@gmail.com>
---
app/test/test_cfgfile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
22/03/2024 00:05, vinh.t.tran10@gmail.com:
> From: vtran0314 <vinh.t.tran10@gmail.com>
>
> Caught by codespell.
>
> Signed-off-by: Vinh Tran <vinh.t.tran10@gmail.com>
[..]
> - TEST_ASSERT_NULL(cfgfile, "Expected failured did not occur");
> + TEST_ASSERT_NULL(cfgfile, "Expected failed did not occur");
Correct wording should be "Expected failure".
And there are 3 more occurrences in this file.
I've completed the fix, added root cause
Fixes: c54e7234bc9e ("test/cfgfile: add basic unit tests")
Cc: stable@dpdk.org
and added your name in .mailmap
Signed-off-by: Vinh Tran <vinh.t.tran10@gmail.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
@@ -168,7 +168,7 @@ test_cfgfile_invalid_section_header(void)
struct rte_cfgfile *cfgfile;
cfgfile = rte_cfgfile_load(CFG_FILES_ETC "/invalid_section.ini", 0);
- TEST_ASSERT_NULL(cfgfile, "Expected failured did not occur");
+ TEST_ASSERT_NULL(cfgfile, "Expected failed did not occur");
return 0;
}