Skip to content

Commit

Permalink
Remove method that should not be here.
Browse files Browse the repository at this point in the history
This method was adding when I was playing around.
  • Loading branch information
jecisc committed May 9, 2020
1 parent 911063e commit bfdb99d
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,3 @@ ChanelClassifyUnclassifiedMethodsCleanerTest >> testDontCategorizeExtensionMetho

self assert: (class >> #initialize) protocol equals: self extensionProtocol
]

{ #category : #tests }
ChanelClassifyUnclassifiedMethodsCleanerTest >> testRemoveUselessBlock [
class compile: 'method
self toto ifTrue: [ ^ 1 ] ifFalse: [ ^ 2 ]'.

self runCleaner.

self assert: (class >> #method) sourceCode equals: 'method
^1'
]

0 comments on commit bfdb99d

Please sign in to comment.