Skip to content

Commit

Permalink
Merge pull request #904 from pillar-markup/FixingDuplicatedMethods
Browse files Browse the repository at this point in the history
Fixing duplicated methods
  • Loading branch information
Ducasse authored Oct 27, 2024
2 parents 911bf83 + 86f9c17 commit 801e06e
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 598 deletions.
4 changes: 2 additions & 2 deletions src/Microdown-BookTester/MicAnchorResult.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Class {
{ #category : 'kinds' }
MicAnchorResult class >> errorType [

^ 'UndefinedAnchor'
^ 'Anchor problem'
]

{ #category : 'accessing' }
Expand All @@ -36,7 +36,7 @@ MicAnchorResult >> explanation [

{ #category : 'accessing' }
MicAnchorResult >> isWhat [
^ 'undefined'
^ 'anchor problem'
]

{ #category : 'accessing' }
Expand Down
5 changes: 0 additions & 5 deletions src/Microdown-Evaluator/MicCompilationContext.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ MicCompilationContext class >> configuration: aConfiguration [
^ self new configuration: aConfiguration
]

{ #category : 'instance creation' }
MicCompilationContext class >> isAbstract [
^ false
]

{ #category : 'instance creation' }
MicCompilationContext class >> withDocument: aDocument [
^ self new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ Class {
}

{ #category : 'asserting' }
MicAbstractLaTexWriterTest class >> shouldInheritSelectors [
MicAbstractLaTexWriterTest class >> isAbstract [

^ true
]

Expand Down Expand Up @@ -65,9 +66,10 @@ MicAbstractLaTexWriterTest >> factory: aFactory [

{ #category : 'accessing' }
MicAbstractLaTexWriterTest >> newLine: aNewLine [
(aNewLine = String cr) ifTrue:[ writer crAsNewLine ].
(aNewLine = String lf) ifTrue:[ writer lfAsNewLine ].
(aNewLine = String crlf) ifTrue:[ writer crlfAsNewLine ].

aNewLine = String cr ifTrue: [ writer crAsNewLine ].
aNewLine = String lf ifTrue: [ writer lfAsNewLine ].
aNewLine = String crlf ifTrue: [ writer crlfAsNewLine ].
newLine := aNewLine
]

Expand Down Expand Up @@ -689,8 +691,3 @@ MicAbstractLaTexWriterTest >> writeForElement: aNode [
writer visit: aNode.

]

{ #category : 'accessing' }
MicAbstractLaTexWriterTest >> writer: aWriter [
writer := aWriter new
]
Loading

0 comments on commit 801e06e

Please sign in to comment.