@@ -305,7 +305,7 @@ fn test_main_branch_not_found_error_message() -> eyre::Result<()> {
305
305
let stderr = trim_lines ( stderr) ;
306
306
let stderr = console:: strip_ansi_codes ( & stderr) ;
307
307
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#"
309
309
The application panicked (crashed).
310
310
Message: A fatal error occurred:
311
311
0: Could not find repository main branch
@@ -317,9 +317,9 @@ fn test_main_branch_not_found_error_message() -> eyre::Result<()> {
317
317
318
318
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")>
319
319
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 }
321
321
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 }
323
323
at some/file/path.rs:123
324
324
325
325
Suggestion:
@@ -339,7 +339,7 @@ fn test_main_branch_not_found_error_message() -> eyre::Result<()> {
339
339
340
340
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
341
341
Run with RUST_BACKTRACE=full to include source snippets.
342
- "### ) ;
342
+ "# ) ;
343
343
insta:: assert_snapshot!( stdout, @"" ) ;
344
344
345
345
Ok ( ( ) )
0 commit comments