forked from FritzAndFriends/BlazorWebFormsComponents
-
Notifications
You must be signed in to change notification settings - Fork 3
[Milestone A] A-03: Whitespace preservation regression tests #75
Copy link
Copy link
Open
Labels
go:needs-researchNeeds investigationNeeds investigationsquadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a membersquad:rogueAssigned to Rogue (QA Analyst)Assigned to Rogue (QA Analyst)
Description
Milestone A — Parser Hardening (A-03)
Priority: P0
Size: Small
Branch: experiment/aspx-middleware
File: src/BlazorWebFormsComponents.AspxMiddleware.Test/AspxParserWhitespaceTests.cs (new)
Deliverable
Write unit tests that parse ASPX fragments where whitespace between controls is significant and verify that \AspxTextNode\ instances with whitespace content are present in the resulting AST.
Test Cases
- Single space between inline elements
- Newline between block elements
- Multiple spaces (preserved as-is)
- Mixed whitespace (\r\n, tabs)
- Whitespace inside ContentPlaceHolder regions
Depends On
- A-01 (whitespace fix must land first, or tests will fail)
Context
See: \dev-docs/milestones/ASPX-MIDDLEWARE-MILESTONES.md\ § Milestone A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
go:needs-researchNeeds investigationNeeds investigationsquadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a membersquad:rogueAssigned to Rogue (QA Analyst)Assigned to Rogue (QA Analyst)