From fa31d100a2319a7a25aaa2656e0ee1aa927407dd Mon Sep 17 00:00:00 2001 From: rami3l Date: Mon, 17 Jun 2024 19:59:18 +0800 Subject: [PATCH 1/2] test: migrate git_gc to snapbox --- tests/testsuite/git_gc.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/testsuite/git_gc.rs b/tests/testsuite/git_gc.rs index a54cf68ef1d..fd4fe30a979 100644 --- a/tests/testsuite/git_gc.rs +++ b/tests/testsuite/git_gc.rs @@ -1,7 +1,5 @@ //! Tests for git garbage collection. -#![allow(deprecated)] - use std::env; use std::ffi::OsStr; use std::path::PathBuf; From ddd5d2fad1082594f0bc7813fd4e8159098de101 Mon Sep 17 00:00:00 2001 From: rami3l Date: Mon, 17 Jun 2024 20:00:31 +0800 Subject: [PATCH 2/2] test: migrate git_shallow to snapbox --- tests/testsuite/git_shallow.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/testsuite/git_shallow.rs b/tests/testsuite/git_shallow.rs index 4191a7ef74b..ca27ccd644e 100644 --- a/tests/testsuite/git_shallow.rs +++ b/tests/testsuite/git_shallow.rs @@ -1,5 +1,3 @@ -#![allow(deprecated)] - use crate::git_gc::find_index; use cargo_test_support::registry::Package; use cargo_test_support::{basic_manifest, git, paths, project};