You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gix/tests/config/tree.rs
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -117,6 +117,36 @@ mod ssh {
117
117
}
118
118
}
119
119
120
+
mod fetch {
121
+
usecrate::config::tree::bcow;
122
+
use gix::config::tree::{Fetch,Key};
123
+
use gix::remote::fetch::negotiate::Algorithm;
124
+
125
+
#[test]
126
+
fnalgorithm() -> crate::Result{
127
+
for(actual, expected)in[
128
+
("noop",Algorithm::Noop),
129
+
("consecutive",Algorithm::Consecutive),
130
+
("skipping",Algorithm::Skipping),
131
+
("default",Algorithm::Consecutive),// actually, default can be Skipping of `feature.experimental` is true, but we don't deal with that yet until we implement `skipping`
0 commit comments