mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-20 20:07:52 +02:00
Fix typo in error message
This commit is contained in:
parent
9abc3c59bf
commit
e8b2022746
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user