let tmpdir = assert_fs::TempDir::new().expect("Couldn't create a temp dir for tests");
for file in FILES {
if *file == BIN_FILE {
- tmpdir.child(file).write_binary(b"bin\0\0123").unwrap();
+ tmpdir.child(file).write_binary(b"bin\0\x00123").unwrap();
} else {
tmpdir
.child(file)
if *file == BIN_FILE {
tmpdir
.child(format!("{directory}{file}"))
- .write_binary(b"bin\0\0123")
+ .write_binary(b"bin\0\x00123")
.unwrap();
} else {
tmpdir