Skip to content

fix swapped assignment of CDATA and TEXT constants#53

Merged
bodewig merged 1 commit into
xmlunit:masterfrom
cboehme:fix-incorrect-constant-assignment
Mar 6, 2016
Merged

fix swapped assignment of CDATA and TEXT constants#53
bodewig merged 1 commit into
xmlunit:masterfrom
cboehme:fix-incorrect-constant-assignment

Conversation

@cboehme

@cboehme cboehme commented Mar 6, 2016

Copy link
Copy Markdown
Contributor

The assignment of the Node.CDATA_SECTION_NODE and Node.TEXT_NODE values
to the CDATA and TEXT constants used by DifferenceEvaluators.Default was
mixed up.

The assignment of the `Node.CDATA_SECTION_NODE` and `Node.TEXT_NODE` values
to the `CDATA` and `TEXT` constants used by `DifferenceEvaluators.Default` was
mixed up.
bodewig added a commit that referenced this pull request Mar 6, 2016
fix swapped assignment of CDATA and TEXT constants
@bodewig bodewig merged commit 411fa24 into xmlunit:master Mar 6, 2016
@bodewig

bodewig commented Mar 6, 2016

Copy link
Copy Markdown
Member

This looks silly, thank you!

Fortunately the swapped values never leak outside of the evaluator.

bodewig added a commit that referenced this pull request Mar 6, 2016
@bodewig bodewig added this to the 2.0.1 milestone Mar 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants