#[root]
Expand description
Run test case when runner is root
#[cfg(test)]
mod tests {
// Only works with root account
#[test_with::root()]
#[test]
fn test_ignored() {
panic!("should be ignored")
}
}
#[root]
Run test case when runner is root
#[cfg(test)]
mod tests {
// Only works with root account
#[test_with::root()]
#[test]
fn test_ignored() {
panic!("should be ignored")
}
}