Skip to content

Commit

Permalink
Fix some typos (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored Mar 2, 2024
1 parent 052b777 commit 7c83ab1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# main [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v4.9.0...main)

* [CHANGE] Fix some typos (by [@jbampton][])

# v4.9.0 / 2023-10-18 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.8.1...v4.9.0)

* [CHANGE] Bump aruba, cucumber, fakefs, flog, mdl, minitest, and rubocop dependencies (by [@faisal][])
Expand Down Expand Up @@ -103,7 +105,7 @@

# v4.3.0 / 2019-12-26 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.2.2...v4.3.0)

* [FEATURE] Show which files are uncommited in git (by [@GeoffTidey][])
* [FEATURE] Show which files are uncommitted in git (by [@GeoffTidey][])
* [BUGFIX] Fixes TypeError when `.resultset.json` is not found (by [@etagwerker][])

# v4.2.2 / 2019-11-12 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.2.1...v4.2.2)
Expand Down Expand Up @@ -341,7 +343,7 @@

* [FEATURE] Add CI mode that only analyses the last commit
* [FEATURE] Add partial support for Mercurial
* [FEATURE] Allow using RubyCritic programatically
* [FEATURE] Allow using RubyCritic programmatically
* [CHANGE] Update to Reek 1.6.0 (from 1.3.8)
* [BUGFIX] Fix issue #18 - Prevent encoding issues when using Git

Expand Down
2 changes: 1 addition & 1 deletion test/fakefs_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

module FakeFS
class File < StringIO
# $VERBOSE = nil to suppress warnings when we overrie flock.
# $VERBOSE = nil to suppress warnings when we override flock.
original_verbose = $VERBOSE
$VERBOSE = nil
def flock(*)
Expand Down
2 changes: 1 addition & 1 deletion test/lib/rubycritic/commands/compare_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def abort(str); end
@options = RubyCritic::Cli::Options.new(options).parse.to_h
end

it 'with -b option withour pull request id' do
it 'with -b option without pull request id' do
_(@options[:base_branch]).must_equal 'base_branch'
_(@options[:feature_branch]).must_equal 'feature_branch'
_(@options[:mode]).must_equal :compare_branches
Expand Down
4 changes: 2 additions & 2 deletions test/lib/rubycritic/source_control_systems/git/churn_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
.must_equal 4
end

it 'returns 0 for an uncommited file' do
it 'returns 0 for an uncommitted file' do
_(churn.revisions_count('non_existent_file')).must_equal 0
end

Expand Down Expand Up @@ -134,7 +134,7 @@
.must_equal '2014-03-19 18:17:28 +0000'
end

it 'returns nil for an uncommited file' do
it 'returns nil for an uncommitted file' do
assert_nil(churn.date_of_last_commit('non_existent_file'))
end
end
Expand Down

0 comments on commit 7c83ab1

Please sign in to comment.