ignore non ascii characters in tests
This commit is contained in:
		
							parent
							
								
									b72449eb88
								
							
						
					
					
						commit
						0761afa6a0
					
				@ -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";
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user