Merge pull request #6096 from smowton/smowton/fix/inline-expectations-missing-prefix

Inline expectation tests: accept // $MISSING: and // $SPURIOUS:
This commit is contained in:
Anders Schack-Mulligen
2021-06-17 11:41:15 +02:00
committed by GitHub
3 changed files with 6 additions and 6 deletions

View File

@@ -181,14 +181,14 @@ private int getEndOfColumnPosition(int start, string content) {
min(string name, int cand |
exists(TNamedColumn(name)) and
cand = content.indexOf(name + ":") and
cand > start
cand >= start
|
cand
)
or
not exists(string name |
exists(TNamedColumn(name)) and
content.indexOf(name + ":") > start
content.indexOf(name + ":") >= start
) and
result = content.length()
}