Skip to content

Commit

Permalink
test: migrate rustc_info_cache to snapbox
Browse files Browse the repository at this point in the history
  • Loading branch information
eth3lbert committed Jul 2, 2024
1 parent b25039f commit f51a580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testsuite/rustc_info_cache.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
//! Tests for the cache file for the rustc version info.

#![allow(deprecated)]

use cargo_test_support::{basic_bin_manifest, paths::CargoPathExt};
use cargo_test_support::{basic_manifest, project};
use std::env;
Expand All @@ -10,6 +8,7 @@ const MISS: &str = "[..] rustc info cache miss[..]";
const HIT: &str = "[..]rustc info cache hit[..]";
const UPDATE: &str = "[..]updated rustc info cache[..]";

#[allow(deprecated)]
#[cargo_test]
fn rustc_info_cache() {
let p = project()
Expand Down Expand Up @@ -105,6 +104,7 @@ fn rustc_info_cache() {
.run();
}

#[allow(deprecated)]
#[cargo_test]
fn rustc_info_cache_with_wrappers() {
let wrapper_project = project()
Expand Down

0 comments on commit f51a580

Please sign in to comment.