Skip to content

Commit

Permalink
one more rule fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
myroslavarm committed Apr 24, 2020
1 parent c8874d9 commit 5f2dbe4
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ It means that you can get a test breaking and when you rerun your test you get t
Initialize should only use variables defined in #instanceVariablesToKeep.
"
Class {
#name : #ReTestCaseShouldNotUseInitialize,
#name : #ReTestCaseShouldNotUseInitializeRule,
#superclass : #ReAbstractRule,
#category : #GeneralRules
#category : #'GeneralRules-Migrated'
}

{ #category : #'testing-interest' }
ReTestCaseShouldNotUseInitialize class >> checksClass [
ReTestCaseShouldNotUseInitializeRule class >> checksClass [

^ true
]

{ #category : #accessing }
ReTestCaseShouldNotUseInitialize >> basicCheck: aClass [
ReTestCaseShouldNotUseInitializeRule >> basicCheck: aClass [

| alteredVariables expectedVariables |

Expand All @@ -39,7 +39,7 @@ ReTestCaseShouldNotUseInitialize >> basicCheck: aClass [
]

{ #category : #accessing }
ReTestCaseShouldNotUseInitialize >> name [
ReTestCaseShouldNotUseInitializeRule >> name [

^ 'Tests should not use initialize'
]

0 comments on commit 5f2dbe4

Please sign in to comment.