branch-listing benchmarks now work again

They type system is more strict now, rejecting an invalid branch name outright.
This commit is contained in:
Sebastian Thiel 2024-08-09 21:12:57 +02:00
parent 107eea6743
commit b92407a5df
No known key found for this signature in database
GPG Key ID: 9CB5EE7895E8268B

View File

@ -45,7 +45,7 @@ pub fn benchmark_list_branches(c: &mut Criterion) {
b.iter(|| list_branches(black_box(&ctx), None, None))
})
.bench_function("name-filter rejecting all", |b| {
b.iter(|| list_branches(black_box(&ctx), None, Some(vec!["not available".into()])))
b.iter(|| list_branches(black_box(&ctx), None, Some(vec!["not-available".into()])))
});
}
}