Commit b5d56280 authored by Mike Perry's avatar Mike Perry
Browse files

Fix test failures.

The tmpdir is different on macos, and the truncated fp fails.
parent bc35248c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -551,7 +551,7 @@ mod tests {
        .to_string();
        assert_eq!(expected_data, reject_string);
        fs::remove_file(fpath).unwrap();
        fs::remove_dir("/tmp/approved-routers.d").unwrap();
        fs::remove_dir(root_path.join("approved-routers.d")).unwrap();

        let fpath = root_path.join(BAD_PATH);
        let data = fs::read_to_string(fpath);
+0 −1
Original line number Diff line number Diff line
0123456789abcdef0123456789abcdef0123456
0123456789abcdef0123456789abcdef01234567
0011BD2485AD45D984EC4159C88FC066E5E3300E