Skip to content

MicNodeTransformerTest should be really improved to cover more cases #966

@Ducasse

Description

@Ducasse

For example

testReplaceNodeByAnotherNode

	| root |
	root := Microdown parse: 'this is a paragraph'.
	self assert: root children first class equals: MicParagraphBlock.
	transformer visit: root.
	self assert: root children first class equals: MicTextBlock.
	self assert: root children first bodyString equals: 'test'

does not check the back pointer from the new children to their parent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions