Skip to content

Commit 48f8247

Browse files
committed
fix typos
1 parent 28ef2c8 commit 48f8247

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed

.codespellrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[codespell]
2+
skip = coverage,tmp,Gemfile.lock,sublime*
3+
ignore-words-list = mis

CHANGELOG.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Change Log
22
========================================
33

4+
Untagged - Latest
5+
----------------------------------------
6+
7+
- Drop support for Ruby 2.6
8+
- Drop support for Ruby 2.x
9+
10+
411
v0.9.3 - 2023-01-31
512
----------------------------------------
613

@@ -9,15 +16,14 @@ v0.9.3 - 2023-01-31
916
- Add support for one liner syntax
1017

1118

19+
<!-- break v0.9.2 -->
1220
v0.9.2 - 2021-09-03
1321
----------------------------------------
1422

15-
- Supress stdout and stderr when using output matchers
23+
- Suppress stdout and stderr when using output matchers
1624

1725

1826
v0.9.1 - 2020-10-25
1927
----------------------------------------
2028

2129
- Fix some cases of StringIO#ioctl errors
22-
23-

lib/rspec_approvals/matchers/base.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def diffable?
7373
end
7474

7575
# Returns true if RSpec is configured to sanitize (remove ANSI escape
76-
# codes) from the actual strings before proceeeding to comparing them.
76+
# codes) from the actual strings before proceeding to comparing them.
7777
def sanitize?
7878
RSpec.configuration.strip_ansi_escape
7979
end
@@ -110,9 +110,9 @@ def expected!
110110
end
111111

112112
# Do the actual test.
113-
# - If .before() was used, we foreward the actual output to the
113+
# - If .before() was used, we forward the actual output to the
114114
# proc for processing first.
115-
# - If before_approval proc was configured, forward the acual output
115+
# - If before_approval proc was configured, forward the actual output
116116
# to the proc for processing.
117117
# - If .diff() was used, then distance will be set and then
118118
# we "levenshtein it".

spec/rspec_approvals/approval_handler_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def user_response(response)
3030
context 'when the user answers Approve' do
3131
before { user_response :approve }
3232

33-
it 'writes actual result to approval and reutrns true' do
33+
it 'writes actual result to approval and returns true' do
3434
supress_output do
3535
expect(subject.run 'expected', 'actual', approval).to be true
3636
end

0 commit comments

Comments
 (0)