test/helper.rb in yahns-1.17.0 vs test/helper.rb in yahns-1.18.0

- old
+ new

@@ -156,10 +156,10 @@ return if ENV['YAHNS_TEST_FORCE'] skip "linux-only test" unless RUBY_PLATFORM =~ /linux/ [ [ '/proc/sys/net/ipv4/tcp_rmem', "4096 87380 6291456\n" ], [ '/proc/sys/net/ipv4/tcp_wmem', "4096 16384 4194304\n" ] ].each do |file, expect| - val = IO.read(file) + val = File.read(file) val == expect or skip "#{file} had: #{val}expected: #{expect}" end end require 'yahns'