1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-23 15:37:01 +00:00

Fix minor typos found by codespell

This patch fixes some minor typos in comments and strings found by
codespell.

While at it, also expand some variable names that were not typos, but
caused false positives, and end up being more readable anyway.
This commit is contained in:
Alberto Bertogli
2025-03-24 10:39:40 +00:00
parent 5305adb1b9
commit 8e4d31c74c
4 changed files with 10 additions and 9 deletions

View File

@@ -13,10 +13,10 @@ func TestString(t *testing.T) {
s1.Add("a")
s1.Add("b", "ccc")
expectStrings(s1, []string{"a", "b", "ccc"}, []string{"notin"}, t)
expectStrings(s1, []string{"a", "b", "ccc"}, []string{"not-in"}, t)
s2 := NewString("a", "b", "c")
expectStrings(s2, []string{"a", "b", "c"}, []string{"notin"}, t)
expectStrings(s2, []string{"a", "b", "c"}, []string{"not-in"}, t)
// Test that Has works (and not panics) on a nil set.
var s3 *String