diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/rustdoc-js-std/keyword.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/rustdoc-js-std/keyword.js b/src/test/rustdoc-js-std/keyword.js new file mode 100644 index 000000000..868ddd7b6 --- /dev/null +++ b/src/test/rustdoc-js-std/keyword.js @@ -0,0 +1,10 @@ +// ignore-order + +const QUERY = 'fn'; + +const EXPECTED = { + 'others': [ + { 'path': 'std', 'name': 'fn', ty: 15 }, // 15 is for primitive types + { 'path': 'std', 'name': 'fn', ty: 21 }, // 21 is for keywords + ], +}; |