Skip to content

Commit 9b3f5ff

Browse files
committed
Remove trailing spaces in spec descriptions
1 parent 9ccd716 commit 9b3f5ff

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

core/data/deconstruct_keys_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
}.should raise_consistent_error(TypeError, /can't convert MockObject into String/)
8989
end
9090

91-
it "raises TypeError if index is not a Symbol and not convertible to String " do
91+
it "raises TypeError if index is not a Symbol and not convertible to String" do
9292
klass = Data.define(:x, :y)
9393
d = klass.new(1, 2)
9494

core/enumerable/all_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
end
126126

127127
describe 'when given a pattern argument' do
128-
it "calls `===` on the pattern the return value " do
128+
it "calls `===` on the pattern the return value" do
129129
pattern = EnumerableSpecs::Pattern.new { |x| x >= 0 }
130130
@enum1.all?(pattern).should == false
131131
pattern.yielded.should == [[0], [1], [2], [-1]]

core/enumerable/any_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
end
140140

141141
describe 'when given a pattern argument' do
142-
it "calls `===` on the pattern the return value " do
142+
it "calls `===` on the pattern the return value" do
143143
pattern = EnumerableSpecs::Pattern.new { |x| x == 2 }
144144
@enum1.any?(pattern).should == true
145145
pattern.yielded.should == [[0], [1], [2]]

core/enumerable/none_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
end
9595

9696
describe 'when given a pattern argument' do
97-
it "calls `===` on the pattern the return value " do
97+
it "calls `===` on the pattern the return value" do
9898
pattern = EnumerableSpecs::Pattern.new { |x| x == 3 }
9999
@enum1.none?(pattern).should == true
100100
pattern.yielded.should == [[0], [1], [2], [-1]]

core/enumerable/one_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
end
8585

8686
describe 'when given a pattern argument' do
87-
it "calls `===` on the pattern the return value " do
87+
it "calls `===` on the pattern the return value" do
8888
pattern = EnumerableSpecs::Pattern.new { |x| x == 1 }
8989
@enum1.one?(pattern).should == true
9090
pattern.yielded.should == [[0], [1], [2], [-1]]

library/logger/logger/new_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def call(_severity, _time, _progname, _msg); end
9494
logger.formatter.should == formatter
9595
end
9696

97-
it "receives shift_period_suffix " do
97+
it "receives shift_period_suffix" do
9898
shift_period_suffix = "%Y-%m-%d"
9999
path = tmp("shift_period_suffix_test.log")
100100
now = Time.now

library/matrix/coerce_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
require 'matrix'
33

44
describe "Matrix#coerce" do
5-
it "allows the division of integer by a Matrix " do
5+
it "allows the division of integer by a Matrix" do
66
(1/Matrix[[0,1],[-1,0]]).should == Matrix[[0,-1],[1,0]]
77
end
88
end

library/yaml/shared/load.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
].should be_computed_by(:usec)
118118
end
119119

120-
it "rounds values smaller than 1 usec to 0 " do
120+
it "rounds values smaller than 1 usec to 0" do
121121
YAML.send(@method, "2011-03-22t23:32:11.000000342222+01:00").usec.should == 0
122122
end
123123
end

0 commit comments

Comments
 (0)