Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
atanunq committed Oct 7, 2023
1 parent b76a02d commit bf269fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/printer/iterm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,6 @@ mod tests {
let mut vec = Vec::new();

assert_eq!(iTermPrinter.print(&mut vec, &img, &config).unwrap(), (2, 2));
assert_eq!(std::str::from_utf8(&vec).unwrap(), "\x1b[4;5H\x1b]1337;File=inline=1;preserveAspectRatio=1;size=71;width=2;height=2:iVBORw0KGgoAAAANSUhEUgAAAAIAAAADCAYAAAC56t6BAAAADklEQVR4AWPADphY2DgAAEMAFfOuwskAAAAASUVORK5CYII=\x07\n");
assert_eq!(std::str::from_utf8(&vec).unwrap(), "\x1b[4;5H\x1b]1337;File=inline=1;preserveAspectRatio=1;size=95;width=2;height=2:iVBORw0KGgoAAAANSUhEUgAAAAIAAAADCAYAAAC56t6BAAAAJklEQVR4AQEbAOT/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACBAYIAEMAFdTlTsEAAAAASUVORK5CYII=\x07\n");
}
}

0 comments on commit bf269fd

Please sign in to comment.