Fixed unit tests for Windows

This commit is contained in:
Matthias Koefferlein 2019-11-02 20:46:32 +01:00
parent 7910ddc6a3
commit 5d2528a450
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class Buddies_TestClass < TestBase
assert_equal(File.exists?(out_file), true)
assert_equal(log, bin + "\n")
File.open(out_file, "rb") do |file|
File.open(out_file, "r") do |file|
sig = file.read(4).unpack('N').first
assert_equal(sig, signatures[bin])
end