Skip to content

Commit

Permalink
Merge pull request #3 from alexkunde/pipe-fix
Browse files Browse the repository at this point in the history
remove test workaround
  • Loading branch information
alexkunde authored Jul 18, 2023
2 parents 52ea993 + 1525c0a commit 06c92cc
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -629,13 +629,7 @@ mod test {
let c0 = unit.chars().nth(0).unwrap();
if c0.is_alphanumeric() {
// valid unit name --> run test
let u = match Unit::from_systemctl(&unit) {
Ok(x) => x,
Err(e) => {
println!("Could not parse {unit} -> {e}");
continue;
},
};
let u = Unit::from_systemctl(&unit).unwrap();
println!("####################################");
println!("Unit: {:#?}", u);
println!("active: {}", u.active);
Expand Down

0 comments on commit 06c92cc

Please sign in to comment.