From 9dc069eeec7b7327f2c682c7c3cc770315f67d0e Mon Sep 17 00:00:00 2001 From: Yuya Nishihara Date: Sun, 26 Feb 2023 21:53:48 +0900 Subject: [PATCH] tests: include divergence label in update-stale snapshots --- tests/test_workspaces.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_workspaces.rs b/tests/test_workspaces.rs index 4db5ddafb..f5f126ca3 100644 --- a/tests/test_workspaces.rs +++ b/tests/test_workspaces.rs @@ -285,7 +285,10 @@ fn get_log_output(test_env: &TestEnvironment, cwd: &Path) -> String { &[ "log", "-T", - r#"commit_id " " working_copies"#, + r#"separate(" ", + commit_id, + working_copies, + if(divergent, "(divergent)"))"#, "-r", "all()", ],