Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jecisc committed May 15, 2024
1 parent f90c07e commit 66d2997
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/General-Rules-Tests/ReAsClassRuleTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ReAsClassRuleTest >> testRuleNotViolated [

| critiques |
critiques := self myCritiquesOnMethod:
self class >> #testRuleWithAsClass.
self class >> #testRuleNotViolated.
self assertEmpty: critiques
]

Expand Down
2 changes: 1 addition & 1 deletion src/Renraku-Tests/RenrakuTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RenrakuTest >> testAsClassRuleTransformation [

asClassMethod := testClass >> (testClass compile:
'aMethodWhichSendsAsClass
#', self class name, ' asClass').
#', self class name, ' asClassIfAbsent: [ nil ]').

critique := asClassMethod critiques detect: [ :crit |
crit rule class = ReAsClassRule ].
Expand Down

0 comments on commit 66d2997

Please sign in to comment.