mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
testlib: Add missing comment
This commit is contained in:
@@ -38,6 +38,7 @@ func RemoveIfOk(t *testing.T, dir string) {
|
||||
}
|
||||
}
|
||||
|
||||
// Rewrite a file with the given contents.
|
||||
func Rewrite(t *testing.T, path, contents string) error {
|
||||
// Safeguard, to make sure we only mess with test files.
|
||||
if !strings.Contains(path, "testlib_") {
|
||||
|
||||
Reference in New Issue
Block a user