Skip to content

Conversation

@xterao
Copy link
Collaborator

@xterao xterao commented May 12, 2025

Update the list-type test-data checker to recognize test data even when spaces appear between parameters.

@xterao xterao added this to the 0.7.0 Release milestone May 12, 2025
@xterao xterao requested a review from Copilot May 12, 2025 06:25
@xterao xterao self-assigned this May 12, 2025
@xterao xterao added bug Something isn't working fix Bug fixes labels May 12, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the logic for checking list-type test data to handle spaces between parameters more robustly.

  • Added a guard clause to ensure a left parenthesis immediately follows the current element.
  • Modified the token collection logic to use the previous sibling's type for detecting the closing parenthesis.

@xterao xterao force-pushed the fix/check-for-List-type-test-data branch from 03da144 to cc52630 Compare May 12, 2025 06:39
@xterao xterao linked an issue May 12, 2025 that may be closed by this pull request
@xterao xterao merged commit b03aac0 into main May 12, 2025
3 checks passed
@xterao xterao deleted the fix/check-for-List-type-test-data branch May 12, 2025 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fix Bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Recognize List type as test data +Exclude else directive

2 participants