mabdi / small-amp

Test Amplification for Pharo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid data is generated when we use default constructors

mabdi opened this issue · comments

testAddNumericColumnNamedEvaluated_amp_A14
	| evaluationBlock lastColumnDescription tmp_ihsjUncFWx1 tmp_zT6PFs65HH2 tmp_16NrekBxkO1 |
	evaluationBlock := [ :x | x asInteger ].
	tmp_ihsjUncFWx1 := table
		addNumericColumnNamed: 'numeric'
		evaluated: evaluationBlock.
	tmp_16NrekBxkO1 := tmp_ihsjUncFWx1
		addButtonColumnNamed: 'test'
		iconName: 'delete'
		onClick: BlockClosure new
		tooltip: 'Example tooltip.'.
	tmp_zT6PFs65HH2 := table columnDescriptions.
	lastColumnDescription := tmp_zT6PFs65HH2 last

having BlockClosure new causes an error in assertion generation.