Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not ask the node for its formatter (in particular in tests) #17890

Open
Ducasse opened this issue Feb 26, 2025 · 0 comments
Open

Do not ask the node for its formatter (in particular in tests) #17890

Ducasse opened this issue Feb 26, 2025 · 0 comments

Comments

@Ducasse
Copy link
Member

Ducasse commented Feb 26, 2025

Move

testParseError

	| source node |
	source := ' +  foo:  )'.
	node := self parseFaultyExpression: source.
	self assert: node formattedCode equals: source

=>

testParseError

	| source node |
	source := ' +  foo:  )'.
	node := self parseFaultyExpression: source.
	self assert: (self formatterClass format: node ) equals: source
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant