Merge branch 'master' into deterministic-zlib-settings
This commit is contained in:
commit
349a8e3bc7
3 changed files with 15 additions and 0 deletions
|
|
@ -70,3 +70,5 @@ name = "oxipng"
|
||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
opt-level = 2
|
opt-level = 2
|
||||||
|
[profile.release]
|
||||||
|
lto = true
|
||||||
|
|
|
||||||
BIN
tests/files/issue-171.png
Normal file
BIN
tests/files/issue-171.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 220 B |
|
|
@ -600,6 +600,7 @@ fn issue_159() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg(target_pointer_width = "64")]
|
||||||
fn issue_167() {
|
fn issue_167() {
|
||||||
test_it_converts(
|
test_it_converts(
|
||||||
"tests/files/issue-167.png",
|
"tests/files/issue-167.png",
|
||||||
|
|
@ -610,3 +611,15 @@ fn issue_167() {
|
||||||
BitDepth::Eight,
|
BitDepth::Eight,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn issue_171() {
|
||||||
|
test_it_converts(
|
||||||
|
"tests/files/issue-171.png",
|
||||||
|
None,
|
||||||
|
ColorType::Grayscale,
|
||||||
|
BitDepth::Eight,
|
||||||
|
ColorType::Grayscale,
|
||||||
|
BitDepth::Eight,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue