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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user