Skip to content

Commit 06daef6

Browse files
committed
Auto merge of #14087 - rami3l:snapbox-1, r=weihanglo
test: migrate `git_(gc|shallow)` to snapbox This PR is intentionally trivial to make sure I understand the contribution process :) Migrating files: - `tests/testsuite/git_gc.rs` - `tests/testsuite/git_shallow.rs` Tested with `SNAPSHOTS=overwrite cargo test`. Part of #14039.
2 parents 8c52c9c + ddd5d2f commit 06daef6

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

tests/testsuite/git_gc.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! Tests for git garbage collection.
22
3-
#![allow(deprecated)]
4-
53
use std::env;
64
use std::ffi::OsStr;
75
use std::path::PathBuf;

tests/testsuite/git_shallow.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(deprecated)]
2-
31
use crate::git_gc::find_index;
42
use cargo_test_support::registry::Package;
53
use cargo_test_support::{basic_manifest, git, paths, project};

0 commit comments

Comments
 (0)