diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-05-06 09:59:47 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-05-06 09:59:47 +0200 |
| commit | a64d643956c3cfc90632951ae7ec2b3b84d04c1f (patch) | |
| tree | b61368141093ba2d012030f789cc978f2c83eb1e | |
| parent | 758519c5f0d876a91e3c9a44d473cd01e4c031bb (diff) | |
| download | rust-a64d643956c3cfc90632951ae7ec2b3b84d04c1f.tar.gz rust-a64d643956c3cfc90632951ae7ec2b3b84d04c1f.zip | |
Update librustdoc ID tests
| -rw-r--r-- | src/librustdoc/html/markdown/tests.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librustdoc/html/markdown/tests.rs b/src/librustdoc/html/markdown/tests.rs index c871587a0a9..bf0451a1d9d 100644 --- a/src/librustdoc/html/markdown/tests.rs +++ b/src/librustdoc/html/markdown/tests.rs @@ -29,8 +29,8 @@ fn test_unique_id() { "examples-2", "method.into_iter-1", "foo-1", - "main", - "search", + "main-1", + "search-1", "methods", "examples-3", "method.into_iter-2", @@ -191,8 +191,8 @@ fn test_header_ids_multiple_blocks() { t( &mut map, "# Main", - "<h1 id=\"main\" class=\"section-header\">\ - <a href=\"#main\">Main</a></h1>", + "<h1 id=\"main-1\" class=\"section-header\">\ + <a href=\"#main-1\">Main</a></h1>", ); t( &mut map, |
