Skip to content

Commit 677a499

Browse files
committed
fix: use File.read intead of IO.read
1 parent e8ed538 commit 677a499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/zstd-ruby-using-dict_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
RSpec.describe Zstd do
1010
describe 'compress_using_dict' do
1111
let(:user_json) do
12-
IO.read("#{__dir__}/user_springmt.json")
12+
File.read("#{__dir__}/user_springmt.json")
1313
end
1414
let(:dictionary) do
15-
IO.read("#{__dir__}/dictionary")
15+
File.read("#{__dir__}/dictionary")
1616
end
1717

1818
it 'should work' do

0 commit comments

Comments
 (0)