Skip to content

Commit

Permalink
Add test to ensure that the typed queries are not including other types
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jun 30, 2021
1 parent 7b62d28 commit 855923c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/test/rustdoc-js-std/typed-query.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// exact-check

const QUERY = 'macro:print';

const EXPECTED = {
'others': [
{ 'path': 'std', 'name': 'print' },
{ 'path': 'std', 'name': 'eprint' },
{ 'path': 'std', 'name': 'println' },
{ 'path': 'std', 'name': 'eprintln' },
],
};

0 comments on commit 855923c

Please sign in to comment.