Skip to content

Commit ce99c81

Browse files
committed
fix: update test snapshots to include show_signature argument
1 parent d76f7cc commit ce99c81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

git-branchless/tests/test_init.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ fn test_main_branch_not_found_error_message() -> eyre::Result<()> {
305305
let stderr = trim_lines(stderr);
306306
let stderr = console::strip_ansi_codes(&stderr);
307307
let stderr = location_trace_re.replace_all(&stderr, "some/file/path.rs:123");
308-
insta::assert_snapshot!(stderr, @r###"
308+
insta::assert_snapshot!(stderr, @r#"
309309
The application panicked (crashed).
310310
Message: A fatal error occurred:
311311
0: Could not find repository main branch
@@ -317,9 +317,9 @@ fn test_main_branch_not_found_error_message() -> eyre::Result<()> {
317317
318318
0: branchless::core::eventlog::from_event_log_db with effects=<Output fancy=false> repo=<Git repository at: "<repo-path>/.git/"> event_log_db=<EventLogDb path=Some("<repo-path>/.git/branchless/db.sqlite3")>
319319
at some/file/path.rs:123
320-
1: git_branchless_smartlog::smartlog with effects=<Output fancy=false> git_run_info=<GitRunInfo path_to_git="<git-executable>" working_directory="<repo-path>" env=not shown> options=SmartlogOptions { event_id: None, revset: None, resolve_revset_options: ResolveRevsetOptions { show_hidden_commits: false }, reverse: false, exact: false }
320+
1: git_branchless_smartlog::smartlog with effects=<Output fancy=false> git_run_info=<GitRunInfo path_to_git="<git-executable>" working_directory="<repo-path>" env=not shown> options=SmartlogOptions { event_id: None, revset: None, resolve_revset_options: ResolveRevsetOptions { show_hidden_commits: false }, reverse: false, exact: false, show_signature: false }
321321
at some/file/path.rs:123
322-
2: git_branchless_smartlog::command_main with ctx=CommandContext { effects: <Output fancy=false>, git_run_info: <GitRunInfo path_to_git="<git-executable>" working_directory="<repo-path>" env=not shown> } args=SmartlogArgs { event_id: None, revset: None, reverse: false, exact: false, resolve_revset_options: ResolveRevsetOptions { show_hidden_commits: false } }
322+
2: git_branchless_smartlog::command_main with ctx=CommandContext { effects: <Output fancy=false>, git_run_info: <GitRunInfo path_to_git="<git-executable>" working_directory="<repo-path>" env=not shown> } args=SmartlogArgs { event_id: None, revset: None, reverse: false, exact: false, resolve_revset_options: ResolveRevsetOptions { show_hidden_commits: false }, show_signature: false }
323323
at some/file/path.rs:123
324324
325325
Suggestion:
@@ -339,7 +339,7 @@ fn test_main_branch_not_found_error_message() -> eyre::Result<()> {
339339
340340
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
341341
Run with RUST_BACKTRACE=full to include source snippets.
342-
"###);
342+
"#);
343343
insta::assert_snapshot!(stdout, @"");
344344

345345
Ok(())

0 commit comments

Comments
 (0)