mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 18:27:38 +00:00
tests: remove unnecessary format_time_range
template alias
This is already set in the test configuration.
This commit is contained in:
parent
89e0a7021a
commit
9b45c90cc5
1 changed files with 1 additions and 9 deletions
|
@ -28,14 +28,7 @@ fn test_op_log() {
|
|||
let repo_path = test_env.env_root().join("repo");
|
||||
test_env.jj_cmd_ok(&repo_path, &["describe", "-m", "description 0"]);
|
||||
|
||||
let stdout = test_env.jj_cmd_success(
|
||||
&repo_path,
|
||||
&[
|
||||
"op",
|
||||
"log",
|
||||
"--config=template-aliases.'format_time_range(x)'=x",
|
||||
],
|
||||
);
|
||||
let stdout = test_env.jj_cmd_success(&repo_path, &["op", "log"]);
|
||||
insta::assert_snapshot!(&stdout, @r#"
|
||||
@ d009cfc04993 test-username@host.example.com 2001-02-03 04:05:08.000 +07:00 - 2001-02-03 04:05:08.000 +07:00
|
||||
│ describe commit 230dd059e1b059aefc0da06a2e5a7dbf22362f22
|
||||
|
@ -118,7 +111,6 @@ fn test_op_log_with_custom_symbols() {
|
|||
&[
|
||||
"op",
|
||||
"log",
|
||||
"--config=template-aliases.'format_time_range(x)'=x",
|
||||
"--config=templates.op_log_node='if(current_operation, \"$\", if(root, \"┴\", \"┝\"))'",
|
||||
],
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue