tests::cannot_parse_empty_slice
	
		
			
	
		
	
	
				
					
				
			This commit is contained in:
		
							parent
							
								
									58790a58d0
								
							
						
					
					
						commit
						677c3f3bd0
					
				| @ -73,4 +73,9 @@ mod tests { | ||||
|             0x0807060504030201, | ||||
|         ); | ||||
|     } | ||||
| 
 | ||||
|     #[test] | ||||
|     fn cannot_parse_empty_slice() { | ||||
|         assert_eq!(u64::parse_slice(&[]).unwrap_err(), IntParseError::Eof); | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user