6 lines
		
	
	
		
			151 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			151 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
#[test]
 | 
						|
fn test_new_encoder() {
 | 
						|
    // this used to fail due to `Bytes` not being `pub`
 | 
						|
    let arr = [0u8];
 | 
						|
    let _ = qoi::Decoder::new(&arr[..]);
 | 
						|
} |