Commit 8f21330
test: normalize whitespace before asserting mark wrappings
The inline MACRO registered in @before pads tags with newlines and indent,
so contains-checks for contiguous wrappings like <sup>sup</sup> never match
even when the macro is correct. Strip whitespace before asserting so the
test still verifies the wrapping order and nesting.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent 3720a9b commit 8f21330
1 file changed
Lines changed: 9 additions & 4 deletions
File tree
- dotcms-integration/src/test/java/com/dotcms/rendering/velocity/viewtools/content
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
292 | | - | |
293 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
294 | 299 | | |
295 | | - | |
| 300 | + | |
296 | 301 | | |
297 | 302 | | |
298 | 303 | | |
| |||
0 commit comments