Skip to content

Conversation

weswigham
Copy link
Member

Fixes #6120

@DanielRosenwasser
Copy link
Member

I think this is fine within the fourslash harness, but does this work with the tests which just use a for-loop to iterate over ranges?

@weswigham
Copy link
Member Author

but does this work with the tests which just use a for-loop to iterate over ranges?

You should be using verify.forEachRange if you do that AFAIK, so yes. If you grab the list of ranges otherwise, then no.

@weswigham weswigham merged commit fe2b9e9 into microsoft:master Jun 21, 2019
@weswigham weswigham deleted the add-fourslash-asserts branch June 21, 2019 17:38
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.

Fourslash tests which loop over every range should assert the presence of a non-empty list of ranges
3 participants