Skip to content

Commit 92fbc4e

Browse files
committed
move all snapshot/cargo_add/ tests to testsuite/cargo_add/
1 parent 0f75da6 commit 92fbc4e

File tree

717 files changed

+2894
-2354
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

717 files changed

+2894
-2354
lines changed

crates/cargo-test-support/src/lib.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ macro_rules! t {
3232
};
3333
}
3434

35+
#[macro_export]
36+
macro_rules! curr_dir {
37+
() => {
38+
std::path::Path::new(file!()).parent().unwrap()
39+
};
40+
}
41+
3542
#[track_caller]
3643
pub fn panic_error(what: &str, err: impl Into<anyhow::Error>) -> ! {
3744
let err = err.into();

0 commit comments

Comments
 (0)