Skip to content

Commit 5787434

Browse files
committed
adapt to changes in gix-worktree
1 parent ad02c37 commit 5787434

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

gix-filter/tests/pipeline/convert_to_git.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fn all_stages_mean_streaming_is_impossible() -> gix_testtools::Result {
5353
Path::new("any.txt"),
5454
&mut |path, attrs| {
5555
cache
56-
.at_entry(path, Some(false), gix_object::find::Never)
56+
.at_entry(path, Some(false), &gix_object::find::Never)
5757
.expect("cannot fail")
5858
.matching_attributes(attrs);
5959
},
@@ -82,7 +82,7 @@ fn only_driver_means_streaming_is_possible() -> gix_testtools::Result {
8282
Path::new("subdir/doesnot/matter/any.txt"),
8383
&mut |path, attrs| {
8484
cache
85-
.at_entry(path, Some(false), gix_object::find::Never)
85+
.at_entry(path, Some(false), &gix_object::find::Never)
8686
.expect("cannot fail")
8787
.matching_attributes(attrs);
8888
},
@@ -112,7 +112,7 @@ fn no_filter_means_reader_is_returned_unchanged() -> gix_testtools::Result {
112112
Path::new("other.txt"),
113113
&mut |path, attrs| {
114114
cache
115-
.at_entry(path, Some(false), gix_object::find::Never)
115+
.at_entry(path, Some(false), &gix_object::find::Never)
116116
.expect("cannot fail")
117117
.matching_attributes(attrs);
118118
},

gix-filter/tests/pipeline/convert_to_worktree.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fn all_stages() -> gix_testtools::Result {
2121
"any.txt".into(),
2222
&mut |path, attrs| {
2323
cache
24-
.at_entry(path, Some(false), gix_object::find::Never)
24+
.at_entry(path, Some(false), &gix_object::find::Never)
2525
.expect("cannot fail")
2626
.matching_attributes(attrs);
2727
},
@@ -54,7 +54,7 @@ fn all_stages_no_filter() -> gix_testtools::Result {
5454
"other.txt".into(),
5555
&mut |path, attrs| {
5656
cache
57-
.at_entry(path, Some(false), gix_object::find::Never)
57+
.at_entry(path, Some(false), &gix_object::find::Never)
5858
.expect("cannot fail")
5959
.matching_attributes(attrs);
6060
},
@@ -86,7 +86,7 @@ fn no_filter() -> gix_testtools::Result {
8686
"other.txt".into(),
8787
&mut |path, attrs| {
8888
cache
89-
.at_entry(path, Some(false), gix_object::find::Never)
89+
.at_entry(path, Some(false), &gix_object::find::Never)
9090
.expect("cannot fail")
9191
.matching_attributes(attrs);
9292
},

0 commit comments

Comments
 (0)