Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
No changes to production code.

A typo in changelog is being excluded because it is a generated file

Found with `codespell`
  • Loading branch information
tagliala committed Jan 22, 2025
1 parent 7746f54 commit 5ec7b33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class FooWithKnownMacro < ActiveRecord::Base
end
end

context "when the file includes invlaid multibyte chars (USASCII)" do
context "when the file includes invalid multibyte chars (USASCII)" do
context 'when class FooWithUtf8 is defined in "foo_with_utf8.rb"' do
let :filename do
"foo_with_utf8.rb"
Expand Down
6 changes: 3 additions & 3 deletions spec/lib/annotate_rb/model_annotator/model_wrapper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@
context "with options[:format_rdoc]" do
let!(:format_rdoc_option) { true }

it "should return the max width ncluding the length of the comments and the length of the rdoc" do
it "should return the max width including the length of the comments and the length of the rdoc" do
is_expected.to eq(expect_length)
end
end

context "with options[:format_rdoc] is false" do
let!(:format_rdoc_option) { false }

it "should return the max width ncluding the length of the comments" do
it "should return the max width including the length of the comments" do
is_expected.to eq(expect_length)
end
end
Expand All @@ -85,7 +85,7 @@
context "with options[:format_rdoc]" do
let!(:format_rdoc_option) { true }

it "should return the max width ncluding the length of the rdoc" do
it "should return the max width including the length of the rdoc" do
is_expected.to eq(expect_length)
end
end
Expand Down

0 comments on commit 5ec7b33

Please sign in to comment.