Skip to content

Commit 16b3204

Browse files
authored
feat: add test crate (#135)
1 parent 661f6a3 commit 16b3204

File tree

15 files changed

+1374
-1131
lines changed

15 files changed

+1374
-1131
lines changed

Cargo.lock

Lines changed: 104 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ homepage = "https://github.com/prefix-dev/shell"
88
repository = "https://github.com/prefix-dev/shell"
99
license = "BSD-3-Clause"
1010
edition = "2021"
11-
readme = "README.md"
11+
readme = "README.md"

crates/deno_task_shell/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pest_ascii_tree = { git = "https://github.com/prsabahrami/pest_ascii_tree.git",
3131
miette = "7.2.0"
3232

3333
[dev-dependencies]
34+
tempfile = "3.12.0"
3435
parking_lot = "0.12.3"
35-
pretty_assertions = "1"
3636
serde_json = "1.0.128"
37-
tempfile = "3.12.0"
37+
pretty_assertions = "1.0.0"

crates/deno_task_shell/src/shell/mod.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,9 @@ pub use types::ShellPipeReader;
1717
pub use types::ShellPipeWriter;
1818
pub use types::ShellState;
1919

20+
pub mod fs_util;
21+
2022
mod command;
2123
mod commands;
2224
mod execute;
23-
mod fs_util;
2425
mod types;
25-
26-
#[cfg(test)]
27-
mod test;
28-
#[cfg(test)]
29-
mod test_builder;

0 commit comments

Comments
 (0)