Fix typo in error message

This commit is contained in:
David Dworken 2024-08-18 21:55:24 -07:00
parent 9abc3c59bf
commit e8b2022746
No known key found for this signature in database

View File

@ -507,7 +507,7 @@ func tweakConfigForTests(configContents string) (string, error) {
ret += "\n" ret += "\n"
} }
if !(substitutionCount == 2 && removedCount == 2) { if !(substitutionCount == 2 && removedCount == 2) {
return "", fmt.Errorf("failed to find substitution line in configConents=%#v", configContents) return "", fmt.Errorf("failed to find substitution line in configContents=%#v", configContents)
} }
return ret, nil return ret, nil
} }