Skip to content

Commit b174bff

Browse files
committed
Fix typos in spec doc string
1 parent e7325cc commit b174bff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/concurrent/atomic/atomic_fixnum_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
expect(described_class.new.value).to eq 0
1111
end
1212

13-
it 'raises en exception if the initial value is not a Fixnum' do
13+
it 'raises an exception if the initial value is not a Fixnum' do
1414
expect {
1515
described_class.new(10.01)
1616
}.to raise_error
@@ -159,13 +159,13 @@ module Concurrent
159159

160160
context 'construction' do
161161

162-
it 'raises en exception if the initial value is too big' do
162+
it 'raises an exception if the initial value is too big' do
163163
expect {
164164
described_class.new(described_class::MAX_VALUE + 1)
165165
}.to raise_error
166166
end
167167

168-
it 'raises en exception if the initial value is too small' do
168+
it 'raises an exception if the initial value is too small' do
169169
expect {
170170
described_class.new(described_class::MIN_VALUE - 1)
171171
}.to raise_error

0 commit comments

Comments
 (0)