diff --git a/test/test_round_trip.rb b/test/test_round_trip.rb index 8d95f7d..3600936 100644 --- a/test/test_round_trip.rb +++ b/test/test_round_trip.rb @@ -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.