2022-05-07 01:51:49 +00:00
|
|
|
//! Tests for the `cargo init` command.
|
|
|
|
|
|
|
|
mod auto_git;
|
|
|
|
mod bin_already_exists_explicit;
|
|
|
|
mod bin_already_exists_explicit_nosrc;
|
|
|
|
mod bin_already_exists_implicit;
|
|
|
|
mod bin_already_exists_implicit_namenosrc;
|
|
|
|
mod bin_already_exists_implicit_namesrc;
|
|
|
|
mod bin_already_exists_implicit_nosrc;
|
|
|
|
mod both_lib_and_bin;
|
|
|
|
mod cant_create_library_when_both_binlib_present;
|
|
|
|
mod confused_by_multiple_lib_files;
|
|
|
|
mod creates_binary_when_both_binlib_present;
|
|
|
|
mod creates_binary_when_instructed_and_has_lib_file;
|
|
|
|
mod creates_library_when_instructed_and_has_bin_file;
|
|
|
|
mod explicit_bin_with_git;
|
|
|
|
mod formats_source;
|
|
|
|
mod fossil_autodetect;
|
|
|
|
mod git_autodetect;
|
|
|
|
mod git_ignore_exists_no_conflicting_entries;
|
2023-03-28 10:46:52 +00:00
|
|
|
mod help;
|
2022-05-07 01:51:49 +00:00
|
|
|
mod ignores_failure_to_format_source;
|
|
|
|
mod inferred_bin_with_git;
|
|
|
|
mod inferred_lib_with_git;
|
2023-05-04 01:39:22 +00:00
|
|
|
mod inherit_workspace_package_table;
|
2022-05-07 01:51:49 +00:00
|
|
|
mod invalid_dir_name;
|
|
|
|
mod lib_already_exists_nosrc;
|
|
|
|
mod lib_already_exists_src;
|
|
|
|
mod mercurial_autodetect;
|
|
|
|
mod multibin_project_name_clash;
|
|
|
|
#[cfg(not(windows))]
|
|
|
|
mod no_filename;
|
2022-11-08 17:40:23 +00:00
|
|
|
#[cfg(unix)]
|
2022-10-26 21:27:46 +00:00
|
|
|
mod path_contains_separator;
|
2022-05-07 01:51:49 +00:00
|
|
|
mod pijul_autodetect;
|
|
|
|
mod reserved_name;
|
|
|
|
mod simple_bin;
|
|
|
|
mod simple_git;
|
|
|
|
mod simple_git_ignore_exists;
|
|
|
|
mod simple_hg;
|
|
|
|
mod simple_hg_ignore_exists;
|
|
|
|
mod simple_lib;
|
|
|
|
mod unknown_flags;
|
|
|
|
mod with_argument;
|
2023-10-28 14:31:47 +00:00
|
|
|
mod workspace_add_member;
|