We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e029eb4 commit 85ab096Copy full SHA for 85ab096
git-discover/tests/upwards/mod.rs
@@ -3,7 +3,11 @@ use std::path::PathBuf;
3
use git_discover::repository::Kind;
4
5
fn expected_trust() -> git_sec::Trust {
6
- git_sec::Trust::Full
+ if std::env::var_os("GITOXIDE_TEST_EXPECT_REDUCED_TRUST").is_some() {
7
+ git_sec::Trust::Reduced
8
+ } else {
9
+ git_sec::Trust::Full
10
+ }
11
}
12
13
mod ceiling_dirs;
0 commit comments