summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-21 00:40:56 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-21 01:19:55 +0900
commitfb8f011422c645ebe29e94c3fb2079af73d1d35f (patch)
tree93201efe561d1139cf7e89764bb7becfea23bcae /spec/ruby
parentad534a677a6df7437c934440b35affa88ce3648a (diff)
Fixed indefinite articles before "Integer" [ci skip]
Diffstat (limited to 'spec/ruby')
-rw-r--r--spec/ruby/core/integer/shared/equal.rb2
-rw-r--r--spec/ruby/core/marshal/shared/load.rb2
-rw-r--r--spec/ruby/core/rational/comparison_spec.rb2
-rw-r--r--spec/ruby/library/win32ole/win32ole_variable/value_spec.rb2
4 files changed, 4 insertions, 4 deletions
diff --git a/spec/ruby/core/integer/shared/equal.rb b/spec/ruby/core/integer/shared/equal.rb
index 03416b60f5..4a5a236ffa 100644
--- a/spec/ruby/core/integer/shared/equal.rb
+++ b/spec/ruby/core/integer/shared/equal.rb
@@ -11,7 +11,7 @@ describe :integer_equal, shared: true do
10.send(@method, bignum_value).should == false
end
- it "calls 'other == self' if the given argument is not a Integer" do
+ it "calls 'other == self' if the given argument is not an Integer" do
1.send(@method, '*').should == false
obj = mock('one other')
diff --git a/spec/ruby/core/marshal/shared/load.rb b/spec/ruby/core/marshal/shared/load.rb
index 85e645507f..e63fd8adda 100644
--- a/spec/ruby/core/marshal/shared/load.rb
+++ b/spec/ruby/core/marshal/shared/load.rb
@@ -667,7 +667,7 @@ describe :marshal_load, shared: true do
end
end
- describe "for a Integer" do
+ describe "for an Integer" do
it "loads 0" do
Marshal.send(@method, "\004\bi\000").should == 0
Marshal.send(@method, "\004\bi\005").should == 0
diff --git a/spec/ruby/core/rational/comparison_spec.rb b/spec/ruby/core/rational/comparison_spec.rb
index b2784f3e7d..9d8e7fd7ee 100644
--- a/spec/ruby/core/rational/comparison_spec.rb
+++ b/spec/ruby/core/rational/comparison_spec.rb
@@ -4,7 +4,7 @@ describe "Rational#<=> when passed a Rational object" do
it_behaves_like :rational_cmp_rat, :<=>
end
-describe "Rational#<=> when passed a Integer object" do
+describe "Rational#<=> when passed an Integer object" do
it_behaves_like :rational_cmp_int, :<=>
end
diff --git a/spec/ruby/library/win32ole/win32ole_variable/value_spec.rb b/spec/ruby/library/win32ole/win32ole_variable/value_spec.rb
index c15f64c2c5..4f240b561c 100644
--- a/spec/ruby/library/win32ole/win32ole_variable/value_spec.rb
+++ b/spec/ruby/library/win32ole/win32ole_variable/value_spec.rb
@@ -9,7 +9,7 @@ platform_is :windows do
@var = ole_type.variables[0]
end
- it "returns a Integer" do
+ it "returns an Integer" do
# according to doc, this could return nil
@var.value.should be_kind_of Integer
end