partially fix clippy warnings regarding umlauts
This commit is contained in:
parent
020a95920e
commit
b72449eb88
@ -5,6 +5,7 @@
|
||||
clippy::nursery,
|
||||
clippy::cargo
|
||||
)]
|
||||
|
||||
use crate::userlib_error::UserLibError;
|
||||
use std::cmp::Eq;
|
||||
use std::convert::TryFrom;
|
||||
@ -353,6 +354,7 @@ fn test_default_user() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[allow(clippy::non_ascii_literal)]
|
||||
fn test_parse_gecos() {
|
||||
// test if the Gecos field can be parsed and the resulting struct is populated correctly.
|
||||
let gcdetail = "Full Name,504,11345342,ä1-2312,myemail@test.com";
|
||||
|
Loading…
Reference in New Issue
Block a user