Skip to content

Commit

Permalink
ci: run tests as root
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Lüke committed Nov 7, 2023
1 parent 227dc06 commit fdb1497
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wgbind/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ mod tests {

let result = listDeviceNames();
assert!((matches!(result, Some(_) )),"list should never return none");
assert_eq!(result.unwrap().first().unwrap().as_str(), device)

assert_eq!(result.unwrap().first().unwrap().as_str(), device);
drop(ctx)
}

#[test]
Expand Down Expand Up @@ -184,5 +184,6 @@ mod tests {
panic!("{:?}", e)
});
assert!(matches!(transform(tmp.unwrap()), Ok(x) if x == device));
drop(ctx);
}
}

0 comments on commit fdb1497

Please sign in to comment.