Skip to content

Commit 7814452

Browse files
committed
remove using default toml config for test in get_toml, we handle it via using the temp directory created via the testCtx
1 parent 52533a8 commit 7814452

File tree

1 file changed

+0
-4
lines changed
  • src/bootstrap/src/core/config/toml

1 file changed

+0
-4
lines changed

src/bootstrap/src/core/config/toml/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,6 @@ impl Config {
152152
}
153153

154154
pub(crate) fn get_toml(file: &Path) -> Result<TomlConfig, toml::de::Error> {
155-
#[cfg(test)]
156-
return Ok(TomlConfig::default());
157-
158-
#[cfg(not(test))]
159155
Self::get_toml_inner(file)
160156
}
161157

0 commit comments

Comments
 (0)