summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvanov-Anton <anton.i@didww.com>2023-05-21 03:59:34 +0300
committerGitHub <noreply@github.com>2023-05-21 09:59:34 +0900
commit1dd5427abeedff50557408c8b81bf71e5ff99bd3 (patch)
treefe2bdab5aac57572a526acbfe6b551e62c1aeeda
parentb3f355cfbef3bee159bc7d05bd2df1dd63ffddc0 (diff)
Fix typo in spec file description [ci skip]
fixed typo for spec description
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7832 Merged-By: nobu <nobu@ruby-lang.org>
-rw-r--r--spec/ruby/shared/rational/truncate.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/shared/rational/truncate.rb b/spec/ruby/shared/rational/truncate.rb
index 682ba22c7c..df5198ca02 100644
--- a/spec/ruby/shared/rational/truncate.rb
+++ b/spec/ruby/shared/rational/truncate.rb
@@ -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")