diff options
| author | Michael Howell <michael@notriddle.com> | 2023-08-05 12:27:58 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-09-03 13:06:08 -0700 |
| commit | 60688500089f8e182e35f7ae540e9941734053a4 (patch) | |
| tree | 0c6a54267294b79bb84692945f41cfeafa51a7bb /tests/rustdoc-js/generics-trait.js | |
| parent | 89a4c7f552558c293b29437b4b79223786f1923d (diff) | |
| download | rust-60688500089f8e182e35f7ae540e9941734053a4.tar.gz rust-60688500089f8e182e35f7ae540e9941734053a4.zip | |
rustdoc: fix test case for generics that look like names
Diffstat (limited to 'tests/rustdoc-js/generics-trait.js')
| -rw-r--r-- | tests/rustdoc-js/generics-trait.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/rustdoc-js/generics-trait.js b/tests/rustdoc-js/generics-trait.js index 4ccfb8f4e4d..a71393b5e05 100644 --- a/tests/rustdoc-js/generics-trait.js +++ b/tests/rustdoc-js/generics-trait.js @@ -12,12 +12,16 @@ const EXPECTED = [ ], }, { - 'query': 'Result<SomeTraiz>', - 'correction': null, + 'query': 'Resulx<SomeTrait>', 'in_args': [], 'returned': [], }, { + 'query': 'Result<SomeTraiz>', + 'proposeCorrectionFrom': 'SomeTraiz', + 'proposeCorrectionTo': 'SomeTrait', + }, + { 'query': 'OtherThingxxxxxxxx', 'correction': null, 'in_args': [ |
