ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/tests
Martin von Zweigbergk cc7e20859c tests: add tests of jj move to ancestor, showing lost branch
I noticed earlier today that branches get lost (stuck on a hidden
commit) when you move part of a change to an ancestor. This patch adds
tests for both of those cases, showing the bug. There's no special
logic for this case in the CLI crate, so we should be able to test it
in the library crate instead, but since I have already written the
tests, maybe we can keep them.
2022-04-25 14:05:27 -07:00
..
common tests: add tests for jj describe 2022-04-10 09:13:51 -07:00
smoke_test.rs tests: move testutils from src/ to tests/ 2022-04-02 14:22:58 -07:00
test_concurrent_operations.rs tests: move testutils from src/ to tests/ 2022-04-02 14:22:58 -07:00
test_describe_command.rs cli: allow overriding ui.editor config by $JJ_EDITOR variable 2022-04-10 09:13:51 -07:00
test_diff_command.rs tests: add tests for jj diff 2022-04-02 14:22:58 -07:00
test_edit_command.rs cli: print errors to stderr 2022-04-09 16:13:01 -07:00
test_git_colocated.rs tests: move testutils from src/ to tests/ 2022-04-02 14:22:58 -07:00
test_git_push.rs cli: make jj rebase default to -b @ (#168) 2022-04-14 23:46:28 -07:00
test_gitignores.rs tests: move testutils from src/ to tests/ 2022-04-02 14:22:58 -07:00
test_global_opts.rs cli: if $JJ_CONFIG points to a directory, read all files in it 2022-04-10 09:13:51 -07:00
test_init_command.rs cli: use . in output for current directory instead of empty string 2022-04-20 13:52:25 -07:00
test_log_command.rs tests: move testutils from src/ to tests/ 2022-04-02 14:22:58 -07:00
test_move_command.rs tests: add tests of jj move to ancestor, showing lost branch 2022-04-25 14:05:27 -07:00
test_new.rs tests: use jj_cmd_success() in one more place 2022-04-14 23:46:28 -07:00
test_print_command.rs cli: make jj rebase default to -b @ (#168) 2022-04-14 23:46:28 -07:00
test_rebase_command.rs cli: make jj rebase default to -b @ (#168) 2022-04-14 23:46:28 -07:00
test_restore_command.rs cli: let clap error out for us on jj restore -i <file> 2022-04-09 16:13:01 -07:00
test_split_command.rs cli: teach jj split to include all specified paths in first commit 2022-04-10 09:13:51 -07:00
test_squash_command.rs cli: teach jj squash to move only changes to specified paths 2022-04-09 16:13:01 -07:00
test_undo.rs tests: move testutils from src/ to tests/ 2022-04-02 14:22:58 -07:00
test_untrack_command.rs cli: require at least one path for jj untrack 2022-04-09 16:13:01 -07:00
test_workspaces.rs cli: some fixes and touch-ups for jj workspace, plus tests 2022-04-22 15:45:35 -07:00