Skip to content

Commit

Permalink
Auto merge of #14087 - rami3l:snapbox-1, r=weihanglo
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Jun 17, 2024
2 parents 8c52c9c + ddd5d2f commit 06daef6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions tests/testsuite/git_gc.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
//! Tests for git garbage collection.
#![allow(deprecated)]

use std::env;
use std::ffi::OsStr;
use std::path::PathBuf;
Expand Down
2 changes: 0 additions & 2 deletions tests/testsuite/git_shallow.rs
Original file line number Diff line number Diff line change
@@ -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};
Expand Down

0 comments on commit 06daef6

Please sign in to comment.