Skip to content

Commit 4e9fd0b

Browse files
committed
fix a lint error
1 parent 2fd57d4 commit 4e9fd0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/connection_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
end
2121

2222
it "can create a source from an area of memory" do
23-
str = File.open(simg("wagon.jpg"), "rb").read
23+
str = File.binread(simg("wagon.jpg"))
2424
source = Vips::Source.new_from_memory str
2525

2626
expect(source)

0 commit comments

Comments
 (0)