Skip to content

Commit

Permalink
Fix error in encoder tests
Browse files Browse the repository at this point in the history
  • Loading branch information
birktj committed Feb 27, 2019
1 parent d637e1f commit de18d44
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/encode_images.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ fn test_rgb_u16_roundtrip()
let img_file = File::open("./tests/images/rgb-3c-16b.tiff").expect("Cannot find test image!");
let mut decoder = Decoder::new(img_file).expect("Cannot create decoder");
assert_eq!(decoder.colortype().unwrap(), ColorType::RGB(16));
let img_res = decoder.read_image();
assert!(img_res.is_ok());

let image_data = match decoder.read_image().unwrap() {
DecodingResult::U16(res) => res,
Expand Down

0 comments on commit de18d44

Please sign in to comment.