#117: Add new cop Minitest/AssertWithExpectedArgument to check for unintended usages of assert instead of assert_equal. ([@cstyles][])
Bug fixes
#122: Fix Minitest/TestMethodName for tests with multiple assertions. ([@ghiculescu][])
Changes
#118: (BREAKING) Fix Minitest/AssertEmptyLiteral by making it check for assert_equal([], array) instead of assert([], array). ([@cstyles][])
#125: Require RuboCop 0.90 or higher. ([@koic][])
0.10.3 (2021-01-12)
Bug fixes
#115: Fix a false positive for Minitest/TestMethodName for when defining test method has an argument, and test method without assertion methods. ([@koic][])
0.10.2 (2020-12-27)
Bug fixes
#113: Fix an error for Minitest/AssertEqual and some cops when using assert with block argument. ([@koic][])
0.10.1 (2020-07-25)
Bug fixes
#106: Fix an error for Minitest/AssertOutput when using gvar at top level. ([@koic][])
#95: Add new Minitest/AssertionInLifecycleHook cop. ([@fatkodima][])
#91: Add new Minitest/AssertInDelta and Minitest/RefuteInDelta cops. ([@fatkodima][])
#89: Add new Minitest/TestMethodName cop. ([@fatkodima][])
#83: New cops AssertPathExists and RefutePathExists check for use of assert_path_exists/refute_path_exists instead of assert(File.exist?(path))/refute(File.exist?(path)). ([@fatkodima][])
#88: Add new Minitest/MultipleAssertions cop. ([@fatkodima][])
#87: Add new Minitest/AssertSilent cop. ([@fatkodima][])
#96: Add new Minitest/UnspecifiedException cop. ([@fatkodima][])
#98: Add new Minitest/AssertOutput cop. ([@fatkodima][])
#84: New cops AssertKindOf and RefuteKindOf check for use of assert_kind_of/refute_kind_of instead of assert(foo.kind_of?(Class))/refute(foo.kind_of?(Class)). ([@fatkodima][])
#85: Add autocorrect to Rails/AssertEmptyLiteral cop. ([@fatkodima][])
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on rubocop-minitest to permit the latest version.
Release notes
Sourced from rubocop-minitest's releases.
Changelog
Sourced from rubocop-minitest's changelog.
... (truncated)
Commits
ef1737a
Cut 0.11.01d5775d
Merge pull request #125 from koic/use_restrict_on_send67e1f81
Require RuboCop 0.90 or higher due to useRESTRICT_ON_SEND
7a08802
Tweak the changelog81dacc0
Merge pull request #120 from cstyles/assert-vs-assert_equal2dea4e6
[Fix #117] Add newMinitest/AssertWithExpectedArgument
cop740b49d
Revert "Workaround for JRuby 9.2.15.0 regression"5d25b91
Bump RuboCop Performance to 1.104512fd2
DisableInternalAffairs/NodeMatcherDirective
copfb6c83d
Workaround for JRuby 9.2.15.0 regressionDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)