Skip to content

Commit

Permalink
minor test improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
emabee committed Sep 19, 2023
1 parent de3eb0c commit 089a583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/writers/file_log_writer/state.rs
Expand Up @@ -772,7 +772,7 @@ mod test {

#[test]
fn test_timestamps_rcurrent() {
let dir = format!("log_files/state_unit_tests1-{}", Local::now());
let dir = format!("./log_files/state_unit_tests1-{}", Local::now());
std::fs::create_dir_all(dir.clone()).unwrap();
let file_spec = FileSpec::default()
.directory(dir)
Expand All @@ -790,7 +790,7 @@ mod test {

#[test]
fn test_numbers_rcurrent() {
let dir = format!("log_files/state_unit_tests2-{}", Local::now());
let dir = format!("./log_files/state_unit_tests2-{}", Local::now());
std::fs::create_dir_all(dir.clone()).unwrap();
let file_spec = FileSpec::default()
.discriminant("nr")
Expand Down

0 comments on commit 089a583

Please sign in to comment.