From 0761afa6a0fad13846993c55a17fc1251c17beb1 Mon Sep 17 00:00:00 2001 From: Dietrich Date: Wed, 30 Sep 2020 08:40:19 +0200 Subject: [PATCH] ignore non ascii characters in tests --- src/passwd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/passwd.rs b/src/passwd.rs index de728e1..cb220b2 100644 --- a/src/passwd.rs +++ b/src/passwd.rs @@ -5,6 +5,7 @@ clippy::nursery, clippy::cargo )] +#![allow(clippy::non_ascii_literal)] use crate::userlib_error::UserLibError; use std::cmp::Eq; @@ -354,7 +355,6 @@ 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";