diff options
Diffstat (limited to 'src/test/rustdoc-js-std/return-specific-literal.js')
-rw-r--r-- | src/test/rustdoc-js-std/return-specific-literal.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/rustdoc-js-std/return-specific-literal.js b/src/test/rustdoc-js-std/return-specific-literal.js new file mode 100644 index 000000000..c7c347240 --- /dev/null +++ b/src/test/rustdoc-js-std/return-specific-literal.js @@ -0,0 +1,10 @@ +const QUERY = 'struct:"string"'; + +const EXPECTED = { + 'in_args': [ + { 'path': 'std::string::String', 'name': 'ne' }, + ], + 'returned': [ + { 'path': 'std::string::String', 'name': 'add' }, + ], +}; |