]> git.lizzy.rs Git - rust.git/commitdiff
Update std tests
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Thu, 30 Apr 2020 22:43:55 +0000 (00:43 +0200)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Thu, 7 May 2020 18:08:08 +0000 (20:08 +0200)
src/test/rustdoc-js-std/alias-2.js
src/test/rustdoc-js-std/alias.js

index f3c6713692b5982ec0ff7ab84000ef39792165c9..0ce1b87b7615329928e1f26dc1df52fa3d5e5d67 100644 (file)
@@ -4,7 +4,9 @@ const QUERY = '+';
 
 const EXPECTED = {
     'others': [
-        { 'path': 'std::ops', 'name': 'AddAssign' },
+        { 'path': 'core', 'name': 'AddAssign' },
+        { 'path': 'core', 'name': 'Add' },
+        { 'path': 'std', 'name': 'AddAssign' },
         { 'path': 'std::ops', 'name': 'Add' },
     ],
 };
index 2b709c99119ae11e7a2b079d36c1d51f6f2955a6..0b1e983117f2fd5e8645ef2d0e88a41e842b8f4d 100644 (file)
@@ -5,7 +5,7 @@ const QUERY = '[';
 const EXPECTED = {
     'others': [
         { 'path': 'std', 'name': 'slice' },
-        { 'path': 'std::ops', 'name': 'IndexMut' },
-        { 'path': 'std::ops', 'name': 'Index' },
+        { 'path': 'std', 'name': 'IndexMut' },
+        { 'path': 'std', 'name': 'Index' },
     ],
 };