Skip to content

Conversation

aakash070
Copy link
Collaborator

This change removes additional quotes around raw expressions passed on to the test runner and fixes tests.

Copy link
Collaborator

@TristonianJones TristonianJones left a comment

Choose a reason for hiding this comment

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

Are there unit tests that are running for these cases? How were they not caught before?

@aakash070
Copy link
Collaborator Author

aakash070 commented Apr 23, 2025

There was no check to verify that tests are created by the test runner, and, since the provided file path did not have an extension, neither YAML nor Textproto test parser was able to create the tests. In such a case the passed expression could not be validated as no tests were triggered and hence the test case would not fail. Have added empty checks now.

@TristonianJones TristonianJones merged commit 9ed72dd into google:master Apr 24, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants