Skip to content

Commit

Permalink
tests: add more unit tests for filters
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsan committed May 27, 2023
1 parent c32b4b3 commit db2d348
Show file tree
Hide file tree
Showing 23 changed files with 325 additions and 56 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ target/

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

# coverage report
coverage/lcov.info
59 changes: 30 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ chrono = { version = "0.4.24", default-features = false, features = [
] }

jwalk = "0.8.1"
regex = "1.8.1"
regex = "1.8.3"
serde_yaml = "0.9.21"
toml = "0.7.4"
abscissa_core = "0.7.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/organize-rs_core/src/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ pub enum ActionKind {
filesystem: Option<String>,
},
}

// Check: https://github.com/Byron/jwalk/blob/main/tests/util/mod.rs
impl ActionKind {
pub fn get_action<C: ClientState>(&self) -> ActionClosure<C> {
match self {
Expand Down
Loading

0 comments on commit db2d348

Please sign in to comment.