Skip to content

Commit

Permalink
Fix path check
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Oct 10, 2023
1 parent 664b187 commit 70e1a37
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zebrad/tests/acceptance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,11 @@ fn stored_configs_work() -> Result<()> {
// If they are sent to a file, we just see a log file message.
child.expect_stdout_line_matches(format!(
"(loaded zebra config.*config_path.*=.*{})|(Sending logs to)",
regex::escape(stored_config_path)
regex::escape(
stored_config_path
.to_str()
.expect("config paths are valid unicode")
)
))?;

// finish
Expand Down

0 comments on commit 70e1a37

Please sign in to comment.