1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 03:57:44 +00:00

tests/utils: fixed mode for write (#1802)

added `log_info`
This commit is contained in:
Jan Scheer 2021-03-12 22:26:27 +01:00 committed by GitHub
parent e1626b8c64
commit 47f50a0f5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -261,6 +261,7 @@ impl AtPath {
}
pub fn write(&self, name: &str, contents: &str) {
log_info("open(write)", self.plus_as_string(name));
let _ = std::fs::write(self.plus(name), contents);
}