You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit adds two QA tests to find potential bugs in the `File::find[Start|End]OfStatement()` methods.
1. It adds a test to ensure that the return value of `File::findStartOfStatement()` is never _after_ the passed `$start` stack pointer.
2. It adds a test to ensure that the return value of `File::findEndOfStatement()` is never _before_ the passed `$start` stack pointer.
The tests use the existing test code, but tests all non-empty tokens within the file.
Note: this test doesn't test that the stack pointer returned is _correct_, only that it _could_ be correct.
0 commit comments