mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-15 08:53:16 +00:00
5cc0bd0950
I believe this was an oversight. "jj duplicate" should duplicate commits (= patches), not trees. This patch adds a separate test file because test_rewrite.rs is pretty big, and we'll probably want to migrate CLI tests to jj-lib.
37 lines
851 B
Rust
37 lines
851 B
Rust
use std::path::PathBuf;
|
|
|
|
#[test]
|
|
fn test_no_forgotten_test_files() {
|
|
let test_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("tests");
|
|
testutils::assert_no_forgotten_test_files(&test_dir);
|
|
}
|
|
|
|
mod test_annotate;
|
|
mod test_bad_locking;
|
|
mod test_commit_builder;
|
|
mod test_commit_concurrent;
|
|
mod test_conflicts;
|
|
mod test_default_revset_graph_iterator;
|
|
mod test_git;
|
|
mod test_git_backend;
|
|
mod test_gpg;
|
|
mod test_id_prefix;
|
|
mod test_index;
|
|
mod test_init;
|
|
mod test_load_repo;
|
|
mod test_local_working_copy;
|
|
mod test_local_working_copy_concurrent;
|
|
mod test_local_working_copy_sparse;
|
|
mod test_merge_trees;
|
|
mod test_merged_tree;
|
|
mod test_mut_repo;
|
|
mod test_operations;
|
|
mod test_refs;
|
|
mod test_revset;
|
|
mod test_rewrite;
|
|
mod test_rewrite_duplicate;
|
|
mod test_rewrite_transform;
|
|
mod test_signing;
|
|
mod test_ssh_signing;
|
|
mod test_view;
|
|
mod test_workspace;
|