You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 15, 2024. It is now read-only.
In main.rs, add unit tests for the cargo_dir function that checks that it returns the correct directory for different kinds of crates that have been installed, like:
A crate specified with * as its version
A crate specified with a particular version
A crate installed from github
A crate installed from a local path
A crate that we have a local override set up for
This may require setting up some infrastructure similar to what cargo does for its tests in order to be able to create temporary directories that contain different kinds of projects.
The text was updated successfully, but these errors were encountered:
In
main.rs
, add unit tests for thecargo_dir
function that checks that it returns the correct directory for different kinds of crates that have been installed, like:*
as its versionThis may require setting up some infrastructure similar to what cargo does for its tests in order to be able to create temporary directories that contain different kinds of projects.
The text was updated successfully, but these errors were encountered: