Skip to content

Commit

Permalink
Update git_fetch test
Browse files Browse the repository at this point in the history
  • Loading branch information
mateon1 committed Nov 20, 2024
1 parent 27bcb9a commit 59bd0c9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cli/tests/test_git_fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ fn test_git_fetch_nonexistent_remote() {
&["git", "fetch", "--remote", "rem1", "--remote", "rem2"],
);
insta::assert_snapshot!(stderr, @r###"
bookmark: rem1@rem1 [new] untracked
Error: No git remote named 'rem2'
"###);
// No remote should have been fetched as part of the failing transaction
Expand All @@ -255,7 +254,6 @@ fn test_git_fetch_nonexistent_remote_from_config() {

let stderr = &test_env.jj_cmd_failure(&repo_path, &["git", "fetch"]);
insta::assert_snapshot!(stderr, @r###"
bookmark: rem1@rem1 [new] untracked
Error: No git remote named 'rem2'
"###);
// No remote should have been fetched as part of the failing transaction
Expand Down

0 comments on commit 59bd0c9

Please sign in to comment.