Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

Commit

Permalink
. floating point discrepancy stays the same for all MRI versions 2.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
beatrichartz committed May 4, 2014
1 parent 2d6875e commit a4cde7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/exchange/core_extensions/float/error_safe_spec.rb
Expand Up @@ -2,7 +2,7 @@
require 'spec_helper'

describe "Exchange::ErrorSafe" do
let(:is_mri_21) { (RUBY_VERSION == '2.1.0' && RUBY_ENGINE == 'ruby') }
let(:is_mri_21) { (RUBY_VERSION =~ /\A2.1/ && RUBY_ENGINE == 'ruby') }
before(:all) do
Exchange.configuration = Exchange::Configuration.new { |c| c.cache = { :subclass => :no_cache } }
end
Expand Down

0 comments on commit a4cde7f

Please sign in to comment.