We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f54ee80 commit 62286d9Copy full SHA for 62286d9
scripts/DocTests.mjs
@@ -150,7 +150,9 @@ var values = match.values;
150
151
var v = values["ignore-runtime-tests"];
152
153
-var ignoreRuntimeTests = v !== undefined ? v.split(",") : [];
+var ignoreRuntimeTests = v !== undefined ? v.split(",").map(function (s) {
154
+ return s.trim();
155
+ }) : [];
156
157
prepareCompiler();
158
scripts/DocTests.res
@@ -167,7 +167,10 @@ let {Util.values: values} = Util.parseArgs({
167
})
168
169
let ignoreRuntimeTests = switch values->Dict.get("ignore-runtime-tests") {
170
-| Some(v) => v->String.split(",")
+| Some(v) =>
171
+ v
172
+ ->String.split(",")
173
+ ->Array.map(s => s->String.trim)
174
| None => []
175
}
176
0 commit comments