Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move snapshot tests into testsuite #10638

Merged
merged 2 commits into from
May 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions crates/cargo-test-support/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ macro_rules! t {
};
}

#[macro_export]
macro_rules! curr_dir {
() => {
std::path::Path::new(file!()).parent().unwrap()
};
}

#[track_caller]
pub fn panic_error(what: &str, err: impl Into<anyhow::Error>) -> ! {
let err = err.into();
Expand Down
1 change: 0 additions & 1 deletion tests/snapshots/init/auto_git/in

This file was deleted.

1 change: 0 additions & 1 deletion tests/snapshots/init/explicit_bin_with_git/in

This file was deleted.

1 change: 0 additions & 1 deletion tests/snapshots/init/simple_bin/in

This file was deleted.

1 change: 0 additions & 1 deletion tests/snapshots/init/simple_git/in

This file was deleted.

1 change: 0 additions & 1 deletion tests/snapshots/init/simple_hg/in

This file was deleted.

1 change: 0 additions & 1 deletion tests/snapshots/init/simple_lib/in

This file was deleted.

1 change: 0 additions & 1 deletion tests/snapshots/init/with_argument/stderr.log

This file was deleted.

Empty file.
Loading