aports/testing/jujutsu/libgit2-1.7-expected-error.patch
Celeste f5b18ee3bb testing/jujutsu: new aport
https://github.com/martinvonz/jj
Git-compatible distributed version control system
2023-11-02 10:03:28 +00:00

42 lines
1.8 KiB
Diff

Error message was changed in https://github.com/libgit2/libgit2/commit/19065e59601e6fd6f3041d4f9a6de8b105b27cc3
--- a/cli/tests/test_git_clone.rs
+++ b/cli/tests/test_git_clone.rs
@@ -86,7 +86,7 @@
insta::assert_snapshot!(stdout, @"");
insta::assert_snapshot!(stderr, @r###"
Fetching into new repo in "$TEST_ENV/failed"
- Error: could not find repository from '$TEST_ENV/bad'; class=Repository (6)
+ Error: could not find repository at '$TEST_ENV/bad'; class=Repository (6)
"###);
assert!(!test_env.env_root().join("failed").exists());
@@ -101,7 +101,7 @@
insta::assert_snapshot!(stdout, @"");
insta::assert_snapshot!(stderr, @r###"
Fetching into new repo in "$TEST_ENV/failed"
- Error: could not find repository from '$TEST_ENV/bad'; class=Repository (6)
+ Error: could not find repository at '$TEST_ENV/bad'; class=Repository (6)
"###);
assert!(test_env.env_root().join("failed").exists());
assert!(!test_env.env_root().join("failed").join(".jj").exists());
@@ -262,7 +262,7 @@
insta::assert_snapshot!(stdout, @"");
insta::assert_snapshot!(stderr, @r###"
Fetching into new repo in "$TEST_ENV/failed"
- Error: could not find repository from '$TEST_ENV/bad'; class=Repository (6)
+ Error: could not find repository at '$TEST_ENV/bad'; class=Repository (6)
"###);
assert!(!test_env.env_root().join("failed").exists());
@@ -280,7 +280,7 @@
insta::assert_snapshot!(stdout, @"");
insta::assert_snapshot!(stderr, @r###"
Fetching into new repo in "$TEST_ENV/failed"
- Error: could not find repository from '$TEST_ENV/bad'; class=Repository (6)
+ Error: could not find repository at '$TEST_ENV/bad'; class=Repository (6)
"###);
assert!(test_env.env_root().join("failed").exists());
assert!(!test_env.env_root().join("failed").join(".git").exists());