jj/tests
Yuya Nishihara 7090fa0374 templater: report syntax error, don't panic()
Even though the template syntax is experimental, panicking parser makes
it difficult to write tests. So let's add minimal error handling. The error
types are basically copied from the revset module.

I made write_commit_summary() fall back to the default template if user
template had syntax error. It should be better than reporting parse error
after e.g. "jj abandon" finished successfully.
2023-02-03 12:06:04 +09:00
..
common
test_abandon_command.rs
test_alias.rs jj log: Change the default of ui.unique-prefixes to "styled" 2023-01-30 22:48:38 -08:00
test_branch_command.rs
test_cat_command.rs
test_checkout.rs templater: do not complete "(no commit description)" by default 2023-02-01 16:13:43 +09:00
test_commit_command.rs templater: do not complete "(no commit description)" by default 2023-02-01 16:13:43 +09:00
test_commit_template.rs jj log: Change the default of ui.unique-prefixes to "styled" 2023-01-30 22:48:38 -08:00
test_concurrent_operations.rs templater: do not complete "(no commit description)" by default 2023-02-01 16:13:43 +09:00
test_config_command.rs Don't output implicit defaults from "config list" 2023-02-01 19:49:57 -06:00
test_debug_command.rs
test_describe_command.rs
test_diff_command.rs templater: do not complete "(no commit description)" by default 2023-02-01 16:13:43 +09:00
test_diffedit_command.rs
test_duplicate_command.rs templater: do not complete "(no commit description)" by default 2023-02-01 16:13:43 +09:00
test_edit_command.rs templater: do not complete "(no commit description)" by default 2023-02-01 16:13:43 +09:00
test_git_clone.rs
test_git_colocated.rs templater: do not complete "(no commit description)" by default 2023-02-01 16:13:43 +09:00
test_git_import_export.rs
test_git_push.rs cli: report no updates to current branch 2023-01-29 22:07:28 -08:00
test_git_remotes.rs
test_gitignores.rs
test_global_opts.rs
test_init_command.rs jj log: Change the default of ui.unique-prefixes to "styled" 2023-01-30 22:48:38 -08:00
test_interdiff_command.rs
test_log_command.rs templater: do not complete "(no commit description)" by default 2023-02-01 16:13:43 +09:00
test_move_command.rs templater: do not complete "(no commit description)" by default 2023-02-01 16:13:43 +09:00
test_new_command.rs templater: do not complete "(no commit description)" by default 2023-02-01 16:13:43 +09:00
test_obslog_command.rs jj log: Change the default of ui.unique-prefixes to "styled" 2023-01-30 22:48:38 -08:00
test_operations.rs
test_rebase_command.rs
test_resolve_command.rs
test_restore_command.rs
test_revset_output.rs jj log: Change the default of ui.unique-prefixes to "styled" 2023-01-30 22:48:38 -08:00
test_show_command.rs
test_sparse_command.rs
test_split_command.rs split: give warning when given paths don't match anything 2023-02-01 07:15:38 +01:00
test_squash_command.rs templater: do not complete "(no commit description)" by default 2023-02-01 16:13:43 +09:00
test_status_command.rs
test_templater.rs templater: report syntax error, don't panic() 2023-02-03 12:06:04 +09:00
test_undo.rs templater: do not complete "(no commit description)" by default 2023-02-01 16:13:43 +09:00
test_unsquash_command.rs templater: do not complete "(no commit description)" by default 2023-02-01 16:13:43 +09:00
test_untrack_command.rs
test_workspaces.rs templater: do not complete "(no commit description)" by default 2023-02-01 16:13:43 +09:00