Skip to content

Commit

Permalink
remove test workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkunde committed Jul 18, 2023
1 parent 52ea993 commit 1525c0a
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 1525c0a

Please sign in to comment.