Skip to content

Commit

Permalink
fix: use File.read intead of IO.read
Browse files Browse the repository at this point in the history
  • Loading branch information
SpringMT committed Mar 29, 2024
1 parent e8ed538 commit 677a499
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/zstd-ruby-using-dict_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
RSpec.describe Zstd do
describe 'compress_using_dict' do
let(:user_json) do
IO.read("#{__dir__}/user_springmt.json")
File.read("#{__dir__}/user_springmt.json")
end
let(:dictionary) do
IO.read("#{__dir__}/dictionary")
File.read("#{__dir__}/dictionary")
end

it 'should work' do
Expand Down

0 comments on commit 677a499

Please sign in to comment.