Skip to contentSkip to conversation

Spelling: Fixed a spelling mistake.

PATCH In review [email protected] 2 participants 2 messages Mar 22, 2024 – Mar 25, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Spelling: Fixed a spelling mistake.

From: Holly Nichols <[email protected]>

Caught by codespell.

---
 app/test/test_cfgfile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
app/test/test_cfgfile.c +1 -1
index 2f596affee..21bf34a718 100644
@@ -196,7 +196,7 @@ test_cfgfile_invalid_key_value_pair(void)
 	struct rte_cfgfile *cfgfile;
 
 	cfgfile = rte_cfgfile_load(CFG_FILES_ETC "/empty_key_value.ini", 0);
-	TEST_ASSERT_NULL(cfgfile, "Expected failured did not occur");
+	TEST_ASSERT_NULL(cfgfile, "Expected failure did not occur");
 
 	return 0;
 }
Signature · 1 line
2.44.0.windows.1
#1 lore raw

22/03/2024 00:16, [email protected]:

app/test/test_cfgfile.c test_cfgfile_invalid_key_value_pair(void) · line 199

Quoted 8 lines

From: Holly Nichols <[email protected]>

Caught by codespell.

---

app/test/test_cfgfile.c +1 -1
-	TEST_ASSERT_NULL(cfgfile, "Expected failured did not occur");
+	TEST_ASSERT_NULL(cfgfile, "Expected failure did not occur");

There are 3 more occurrences in this file.

I've completed the fix, added root cause

Fixes c54e7234bc9e ("test/cfgfile: add basic unit tests")

and added your name in .mailmap

Merged with the suggestion from Vinh Tran, thanks.