lib/bagit/valid.rb in bagit-0.3.4 vs lib/bagit/valid.rb in bagit-0.3.5

- old
+ new

@@ -69,13 +69,11 @@ io.each_line do |line| expected, path = line.chomp.split /\s+/, 2 file = File.join(bag_dir, decode_filename(path)) if File.exist? file - actual = algo.file(file).hexdigest - if expected != actual - + if expected.downcase != actual errors.add :consistency, "expected #{file} to have #{algo}: #{expected}, actual is #{actual}" end end end end