Skip to content

Commit ac7e78b

Browse files
committed
update tests
- libvips 8.8 no longer fails on the operation we were using to generate a failure ... update - incorporate a patch from Debian for a missing `require`
1 parent b0ca790 commit ac7e78b

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
* better error messages from `write_to_memory` [linkyndy]
88
* fix doc generation typo for array return [jcupitt]
9+
* update tests for libvips 8.8 [jcupitt]
910

1011
## Version 2.0.14 (2018-10-3)
1112

spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
require 'vips'
22

33
require 'tempfile'
4+
require 'pathname'
45

56
module Spec
67
module Path

spec/vips_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
it 'can throw errors for failed operations' do
107107
black = Vips::Operation.call "black", [100, 1]
108108

109-
expect { black.resize(0.4) }.to raise_exception(Vips::Error)
109+
expect { black.crop(10, 10, 1, 1) }.to raise_exception(Vips::Error)
110110
end
111111
end
112112
end

0 commit comments

Comments
 (0)