Skip to content

refactor: remove internal duplicate test sections in codegen files #73

@michaeldistel

Description

@michaeldistel

Internal duplication in 2 codegen test files:

codegen-control-flow.test.ts — "Validation Examples" section duplicates earlier tests:

  • "nested IF with ELSIF" = "IF-ELSIF-ELSE chain"
  • "FOR loop with EXIT" = "EXIT as break"
  • "WHILE loop" = "WHILE loop"
  • "REPEAT-UNTIL" = "REPEAT with simple condition"
  • "CASE with ranges" ≈ "CASE with mixed labels and ranges"

codegen-composite.test.ts — "Phase 3.3 Docs" section duplicates earlier tests:

  • "array access and assignment (Test 1)" = "array access in FOR loop"
  • "structure access (Test 2)" = "struct member write" + "read"
  • "array of structures (Test 3)" = "array of struct access in loop"

Fix: delete the duplicate sections.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions