Merge pull request from cakebaker/tests_fix_clippy_warnings

tests/common/util.rs: fix clippy warnings
This commit is contained in:
Sylvestre Ledru
2024-09-06 09:55:59 +02:00
committed by GitHub

@ -862,7 +862,6 @@ impl AtPath {
pub fn append(&self, name: &str, contents: &str) {
log_info("write(append)", self.plus_as_string(name));
let mut f = OpenOptions::new()
.write(true)
.append(true)
.create(true)
.open(self.plus(name))
@ -874,7 +873,6 @@ impl AtPath {
pub fn append_bytes(&self, name: &str, contents: &[u8]) {
log_info("write(append)", self.plus_as_string(name));
let mut f = OpenOptions::new()
.write(true)
.append(true)
.create(true)
.open(self.plus(name))