about summary refs log tree commit diff
path: root/src/test/rustdoc/intra-doc/proc-macro.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev+love@gmail.com>2023-01-11 14:18:58 +0900
committerGitHub <noreply@github.com>2023-01-11 14:18:58 +0900
commit2c946bc303d3a3cbc8f3eb17976dc94d9e4c71a7 (patch)
treee964c8db9c2800bc119fcc6c46f3e1d8935638e8 /src/test/rustdoc/intra-doc/proc-macro.rs
parentc2d1cac36bba4f10071f9a5baddefb5925374a9a (diff)
parent2214c6d194d668efe6b1ee000a150372110c114b (diff)
downloadrust-2c946bc303d3a3cbc8f3eb17976dc94d9e4c71a7.tar.gz
rust-2c946bc303d3a3cbc8f3eb17976dc94d9e4c71a7.zip
Rollup merge of #106689 - GuillaumeGomez:rustdoc-gui-files-array, r=notriddle
Fix invalid files array re-creation in rustdoc-gui tester

It fixes the error <code>expected `runTest` first argument to be a string</code>:

```
{
  file_name: {
    file_name: '/home/imperio/rust/rust/src/test/rustdoc-gui/type-declation-overflow.goml',
    output: 'type-declation-overflow... FAILED\n' +
      '...'
  },
  output: Error: expected `runTest` first argument to be a string
      at runTest (/home/imperio/rust/rust/node_modules/browser-ui-test/src/index.js:591:15)
      at runTests (/home/imperio/rust/rust/src/tools/rustdoc-gui/tester.js:144:26)
      at main (/home/imperio/rust/rust/src/tools/rustdoc-gui/tester.js:278:15)
} Error: expected `runTest` first argument to be a string
    at runTest (/home/imperio/rust/rust/node_modules/browser-ui-test/src/index.js:591:15)
    at runTests (/home/imperio/rust/rust/src/tools/rustdoc-gui/tester.js:144:26)
    at main (/home/imperio/rust/rust/src/tools/rustdoc-gui/tester.js:278:15)
```

The problem was that I concatenated two arrays of object whereas `files` is supposed to be an array of string.

r? `@notriddle`
Diffstat (limited to 'src/test/rustdoc/intra-doc/proc-macro.rs')
0 files changed, 0 insertions, 0 deletions