about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-slice-array.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-07-14 01:03:08 +0200
committerGitHub <noreply@github.com>2023-07-14 01:03:08 +0200
commit8d6d566093260f1b30c36f2b702e71efde5b3569 (patch)
tree2a3435e9276c608cb8f52969f05eda6fd4f1f7e3 /tests/rustdoc-js-std/parser-slice-array.js
parent8d1dd7e67bba755306512c69e7b6a9a74c7c4843 (diff)
parent9d071b3b0d0f940c030cf8aa7ab40bae411757ef (diff)
downloadrust-8d6d566093260f1b30c36f2b702e71efde5b3569.tar.gz
rust-8d6d566093260f1b30c36f2b702e71efde5b3569.zip
Rollup merge of #113640 - jyn514:nodejs-defaults, r=GuillaumeGomez
Make `nodejs` control the default for RustdocJs tests instead of a hard-off switch

If someone says `x test rustdoc-js-std` explicitly on the command line, it's because they want to run the tests. Give an error instead of doing nothing and reporting success.

Before:
```
; x t rustdoc-js
No nodejs found, skipping "tests/rustdoc-js" tests
Build completed successfully in 0:00:00
```

After:
```
; x t rustdoc-js
thread 'main' panicked at 'need nodejs to run js-doc-test suite', test.rs:1566:13
Build completed unsuccessfully in 0:00:00
```

I recommend viewing the diff with whitespace changes disabled.

r? ````@GuillaumeGomez````
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions