Skip to content

Commit

Permalink
pipeline, debug paths
Browse files Browse the repository at this point in the history
  • Loading branch information
beckend committed Sep 22, 2023
1 parent 0026bed commit 0da0e42
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ cowstr = { version = '1.2.0', features = ['serde'] }
crossterm = { version = "0.27.0", features = ["event-stream"] }
dashmap = { version = "5.5.3", features = ["serde"] }
dirs = '5.0.1'
fs-err = { version = "2.9.0", optional = true, features = ["tokio"] }
futures = { version = '0.3.28', features = ['thread-pool'] }
humantime = "2.1.0"
kanal = '0.1.0-pre8'
Expand All @@ -37,5 +38,5 @@ typed-builder = '0.16.1'
walkdir = '2.4.0'

[features]
tests_integration = ['dep:tempfile']
tests_integration = ['dep:tempfile', 'dep:fs-err']
all = ['tests_integration']
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ async fn cli_command_check_dir() -> Result<()> {

use crate::features::cli::command_common::CommandCheckDirOptions;

let path_fixtures_target = env::current_dir()?
.join("src/features/cli/commands/email_check/__tests__/fixtures")
.canonicalize()?;
let path_fixtures_target = fs_err::canonicalize(
env::current_dir()?.join("src/features/cli/commands/email_check/__tests__/fixtures"),
)?;
let path_output = tempfile::tempdir()?;
let path_output = path_output.path().to_owned();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ async fn cli_command_check_file() -> Result<()> {
use crate::features::cli::command_common::CommandCheckFileOptions;
use std::{borrow::Cow, env};

let path_fixtures_target = env::current_dir()?
.join("src/features/cli/commands/email_check/__tests__/fixtures")
.canonicalize()?;
let path_fixtures_target = fs_err::canonicalize(
env::current_dir()?.join("src/features/cli/commands/email_check/__tests__/fixtures"),
)?;
let path_output = tempfile::tempdir()?;
let path_output = path_output.path().to_owned();
let file_input = [
Expand Down

0 comments on commit 0da0e42

Please sign in to comment.