mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 21:44:30 +02:00
Fix typo in spec file description [ci skip]
fixed typo for spec description
This commit is contained in:
parent
b3f355cfbe
commit
1dd5427abe
Notes:
git
2023-05-21 01:00:04 +00:00
Merged: https://github.com/ruby/ruby/pull/7832 Merged-By: nobu <nobu@ruby-lang.org>
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ describe :rational_truncate, shared: true do
|
|||
end
|
||||
end
|
||||
|
||||
describe "with an invalid valud for precision" do
|
||||
describe "with an invalid value for precision" do
|
||||
it "raises a TypeError" do
|
||||
-> { @rational.truncate(nil) }.should raise_error(TypeError, "not an integer")
|
||||
-> { @rational.truncate(1.0) }.should raise_error(TypeError, "not an integer")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue