diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-29 16:08:16 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-29 16:08:16 +0000 |
commit | 3fa5bd38af50fb3d98de0ea51043d73f8d06a24b (patch) | |
tree | d473b71cc6925ee1e17727215e9f9a66e3f24802 /spec/ruby/core/float | |
parent | 1e658d45e1f8dbadab18f9c35b5cfb5a5fec98bf (diff) |
Update to ruby/spec@83063a3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/core/float')
-rw-r--r-- | spec/ruby/core/float/abs_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/core/float/magnitude_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/core/float/modulo_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/core/float/to_i_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/core/float/to_int_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/core/float/truncate_spec.rb | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/spec/ruby/core/float/abs_spec.rb b/spec/ruby/core/float/abs_spec.rb index 3ff2e4369b..58e87c7602 100644 --- a/spec/ruby/core/float/abs_spec.rb +++ b/spec/ruby/core/float/abs_spec.rb @@ -1,5 +1,5 @@ require File.expand_path('../shared/abs', __FILE__) describe "Float#abs" do - it_behaves_like(:float_abs, :abs) + it_behaves_like :float_abs, :abs end diff --git a/spec/ruby/core/float/magnitude_spec.rb b/spec/ruby/core/float/magnitude_spec.rb index 042356f4c4..95b4efc158 100644 --- a/spec/ruby/core/float/magnitude_spec.rb +++ b/spec/ruby/core/float/magnitude_spec.rb @@ -1,5 +1,5 @@ require File.expand_path('../shared/abs', __FILE__) describe "Float#magnitude" do - it_behaves_like(:float_abs, :magnitude) + it_behaves_like :float_abs, :magnitude end diff --git a/spec/ruby/core/float/modulo_spec.rb b/spec/ruby/core/float/modulo_spec.rb index f29e3870da..fffa6cab67 100644 --- a/spec/ruby/core/float/modulo_spec.rb +++ b/spec/ruby/core/float/modulo_spec.rb @@ -2,9 +2,9 @@ require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../shared/modulo', __FILE__) describe "Float#%" do - it_behaves_like(:float_modulo, :%) + it_behaves_like :float_modulo, :% end describe "Float#modulo" do - it_behaves_like(:float_modulo, :modulo) + it_behaves_like :float_modulo, :modulo end diff --git a/spec/ruby/core/float/to_i_spec.rb b/spec/ruby/core/float/to_i_spec.rb index 5bf5a1b42a..899e179678 100644 --- a/spec/ruby/core/float/to_i_spec.rb +++ b/spec/ruby/core/float/to_i_spec.rb @@ -2,5 +2,5 @@ require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../shared/to_i', __FILE__) describe "Float#to_i" do - it_behaves_like(:float_to_i, :to_i) + it_behaves_like :float_to_i, :to_i end diff --git a/spec/ruby/core/float/to_int_spec.rb b/spec/ruby/core/float/to_int_spec.rb index ba31ebc168..c37ccdaa91 100644 --- a/spec/ruby/core/float/to_int_spec.rb +++ b/spec/ruby/core/float/to_int_spec.rb @@ -2,5 +2,5 @@ require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../shared/to_i', __FILE__) describe "Float#to_int" do - it_behaves_like(:float_to_i, :to_int) + it_behaves_like :float_to_i, :to_int end diff --git a/spec/ruby/core/float/truncate_spec.rb b/spec/ruby/core/float/truncate_spec.rb index 7feeb81735..097aa751a4 100644 --- a/spec/ruby/core/float/truncate_spec.rb +++ b/spec/ruby/core/float/truncate_spec.rb @@ -2,7 +2,7 @@ require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../shared/to_i', __FILE__) describe "Float#truncate" do - it_behaves_like(:float_to_i, :truncate) + it_behaves_like :float_to_i, :truncate ruby_version_is "2.4" do it "returns self truncated to an optionally given precision" do |