mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-18 14:47:03 +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 {
|
func Rewrite(t *testing.T, path, contents string) error {
|
||||||
// Safeguard, to make sure we only mess with test files.
|
// Safeguard, to make sure we only mess with test files.
|
||||||
if !strings.Contains(path, "testlib_") {
|
if !strings.Contains(path, "testlib_") {
|
||||||
|
|||||||
Reference in New Issue
Block a user