ignore non ascii characters in tests

This commit is contained in:
Dietrich 2020-09-30 08:40:19 +02:00
parent b72449eb88
commit 0761afa6a0

View File

@ -5,6 +5,7 @@
clippy::nursery, clippy::nursery,
clippy::cargo clippy::cargo
)] )]
#![allow(clippy::non_ascii_literal)]
use crate::userlib_error::UserLibError; use crate::userlib_error::UserLibError;
use std::cmp::Eq; use std::cmp::Eq;
@ -354,7 +355,6 @@ fn test_default_user() {
} }
#[test] #[test]
#[allow(clippy::non_ascii_literal)]
fn test_parse_gecos() { fn test_parse_gecos() {
// test if the Gecos field can be parsed and the resulting struct is populated correctly. // 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"; let gcdetail = "Full Name,504,11345342,ä1-2312,myemail@test.com";