Skip to content

Commit df215cc

Browse files
committed
Adjust println-type test to include prelude items
While this is undesired, blocking explicit macro export and assert_matches for this bug that already exists in a smaller fashion was deemed not worth it. See #145577 and #139493 (comment)
1 parent 291babd commit df215cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/rustdoc-js-std/println-typo.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ const EXPECTED = {
66
'query': 'prinltn',
77
'others': [
88
{ 'path': 'std', 'name': 'println' },
9+
{ 'path': 'std::prelude::v1', 'name': 'println' },
910
{ 'path': 'std', 'name': 'print' },
11+
{ 'path': 'std::prelude::v1', 'name': 'print' },
1012
{ 'path': 'std', 'name': 'eprintln' },
13+
{ 'path': 'std::prelude::v1', 'name': 'eprintln' },
1114
],
1215
};

0 commit comments

Comments
 (0)