Skip to content

Commit 9697c46

Browse files
Update std tests
1 parent 3a0727e commit 9697c46

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/test/rustdoc-js-std/alias-2.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ const QUERY = '+';
44

55
const EXPECTED = {
66
'others': [
7-
{ 'path': 'std::ops', 'name': 'AddAssign' },
7+
{ 'path': 'core', 'name': 'AddAssign' },
8+
{ 'path': 'core', 'name': 'Add' },
9+
{ 'path': 'std', 'name': 'AddAssign' },
810
{ 'path': 'std::ops', 'name': 'Add' },
911
],
1012
};

src/test/rustdoc-js-std/alias.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const QUERY = '[';
55
const EXPECTED = {
66
'others': [
77
{ 'path': 'std', 'name': 'slice' },
8-
{ 'path': 'std::ops', 'name': 'IndexMut' },
9-
{ 'path': 'std::ops', 'name': 'Index' },
8+
{ 'path': 'std', 'name': 'IndexMut' },
9+
{ 'path': 'std', 'name': 'Index' },
1010
],
1111
};

0 commit comments

Comments
 (0)