From 2204e42956aa03c90596e9054e012f313d0127ea Mon Sep 17 00:00:00 2001 From: Mike Dirolf Date: Wed, 2 Dec 2009 15:56:50 -0500 Subject: [PATCH] minor: unnecessary branch --- test/test_round_trip.rb | 5 ----- 1 file changed, 5 deletions(-) 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.