diff options
Diffstat (limited to 'tests/rustdoc-js-std/println-typo.js')
-rw-r--r-- | tests/rustdoc-js-std/println-typo.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/rustdoc-js-std/println-typo.js b/tests/rustdoc-js-std/println-typo.js new file mode 100644 index 000000000..7ca3ab8e5 --- /dev/null +++ b/tests/rustdoc-js-std/println-typo.js @@ -0,0 +1,12 @@ +// exact-check + +const QUERY = 'prinltn'; +const FILTER_CRATE = 'std'; + +const EXPECTED = { + 'others': [ + { 'path': 'std', 'name': 'println' }, + { 'path': 'std', 'name': 'print' }, + { 'path': 'std', 'name': 'eprintln' }, + ], +}; |