diff --git a/tests/integration.rs b/tests/integration.rs index d2becce..d5c6435 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -40,8 +40,7 @@ impl std::ops::Deref for ConfigFile { } fn read_sid_from_stat(stat: &str) -> u32 { - stat.trim() - .split_whitespace() + stat.split_whitespace() .nth(5) .expect("missing field 6 in /proc/self/stat") .parse()