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
First of all, a "false positive" has a well defined meaning in the computer science. According to wikipedia: "A false positive is an error in binary classification in which a test result incorrectly indicates the presence of a condition (incorrect scope in our case)". In other words a false positive for the grammar test would be reporting errors when the test should pass clean.
I think something like "A test misses lots of required scopes" conveys meaning much better.
Well, I can replicate the behavior but only when ^ are going over the length of the previous string. Is this matches your findings?
PanAeon
changed the title
required scope has lot's of false positives
Assertion doesn't raise an error when it goes over the length of the tested string
Apr 13, 2022
Consider the following pattern
which is tested by this code:
The test passes as the first
^
matches the tokens scope.However I expect the test to fail, as all the following do not match.
The text was updated successfully, but these errors were encountered: