minor: unnecessary branch

This commit is contained in:
Mike Dirolf 2009-12-02 15:56:50 -05:00
parent bfb26b3426
commit 2204e42956

View File

@ -73,11 +73,6 @@ EOS
File.open(File.join(dir, "#{name}.bson"), 'rb') { |f|
# Read the BSON from the file
bson = f.read
bson = if RUBY_VERSION >= '1.9'
bson.bytes
else
bson
end
# Turn the Ruby object into BSON bytes and compare with the BSON bytes
# from the file.