Skip to content

Commit 0f0301d

Browse files
committed
test error report fixes
1 parent c5a5de5 commit 0f0301d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,10 +588,10 @@ mod tests {
588588
// Note: We need to make sure we're running from the project root usually.
589589
// If not found, panic with a helpful message.
590590
if !fixture_path.exists() {
591-
eprintln!(
591+
panic!(
592592
"Fixture not found at {:?}. Current Dir: {:?}",
593593
fixture_path,
594-
std::env::current_dir()?
594+
std::env::current_dir().unwrap_or_default()
595595
);
596596
}
597597
let loaded_config = EncfsConfig::load(fixture_path)?;

0 commit comments

Comments
 (0)