about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/alias-lev.js
blob: 17f3dc25d7633bad6edb0be74be289fcfb58ec05 (plain)
1
2
3
4
5
6
7
8
9
10
11
// This test ensures that aliases are also allowed to be partially matched.

// ignore-order

const EXPECTED = {
    // The full alias name is `getcwd`.
    'query': 'getcw',
    'others': [
        { 'path': 'std::env', 'name': 'current_dir', 'alias': 'getcwd' },
    ],
};