Skip to content

Commit

Permalink
Add missing variable to load in non-std tester as well
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Mar 16, 2020
1 parent 496256c commit 9b85213
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/rustdoc-js/tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function load_files(out_folder, crate) {
finalJS = "";

var arraysToLoad = ["itemTypes"];
var variablesToLoad = ["MAX_LEV_DISTANCE", "MAX_RESULTS",
var variablesToLoad = ["MAX_LEV_DISTANCE", "MAX_RESULTS", "NO_TYPE_FILTER",
"GENERICS_DATA", "NAME", "INPUTS_DATA", "OUTPUT_DATA",
"TY_PRIMITIVE", "TY_KEYWORD",
"levenshtein_row2"];
Expand Down Expand Up @@ -328,7 +328,7 @@ function main(argv) {
console.log("OK");
}
}
return errors;
return errors > 0 ? 1 : 0;
}

process.exit(main(process.argv));

0 comments on commit 9b85213

Please sign in to comment.