Skip to content

Commit 12140ce

Browse files
committed
update target test for 8.17
1 parent 9fb56ce commit 12140ce

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## master
44

5+
## Version 2.2.4 (2025-06-05)
6+
7+
* fix write to target test with libvips 8.17 [jcupitt]
8+
59
## Version 2.2.3 (2025-02-06)
610

711
* fix `Image#add_alpha()` with libvips 8.16 [kleisauke]

spec/connection_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@
6666

6767
it "can't create a target to a bad filename" do
6868
expect {
69-
Vips::Target.new_to_file "/banana/monkey"
69+
target = Vips::Target.new_to_file "/banana/monkey"
70+
image = Vips::Image.black 1, 1
71+
image.write_to_target(target, "")
7072
}.to raise_exception(Vips::Error)
7173
end
7274

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy