fix error for when results in a rustdoc-js test are in the wrong order
see COMPILETEST_FORCE_STAGE0=1
This commit is contained in:
parent
d8a64098c9
commit
08c1256dc2
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ async function runSearch(query, expected, doSearch, loadedFile, queryName) {
|
|||
JSON.stringify(results[key][index]) + "'");
|
||||
} else if (ignore_order === false && entry_pos < prev_pos) {
|
||||
error_text.push(queryName + "==> '" + JSON.stringify(elem) + "' was supposed " +
|
||||
"to be before '" + JSON.stringify(results[key][entry_pos]) + "'");
|
||||
"to be before '" + JSON.stringify(results[key][prev_pos]) + "'");
|
||||
} else {
|
||||
prev_pos = entry_pos;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue