]> git.lizzy.rs Git - rust.git/commitdiff
Update tests
authortopecongiro <seuchida@gmail.com>
Wed, 5 Jul 2017 10:20:25 +0000 (19:20 +0900)
committerSeiichi Uchida <seuchida@gmail.com>
Wed, 5 Jul 2017 16:19:31 +0000 (01:19 +0900)
tests/target/comment.rs
tests/target/tuple.rs

index a50c147de30d4801ec78572c21fe3347c566cad1..486dde72ff317fcd23c492a67bbef008bc76de80 100644 (file)
@@ -36,12 +36,11 @@ fn test() {
     // or me
 
     // #1388
-    const EXCEPTION_PATHS: &'static [&'static str] =
-        &[
-            // std crates
-            "src/libstd/sys/", // Platform-specific code for std lives here.
-            "src/bootstrap",
-        ];
+    const EXCEPTION_PATHS: &'static [&'static str] = &[
+        // std crates
+        "src/libstd/sys/", // Platform-specific code for std lives here.
+        "src/bootstrap",
+    ];
 }
 
 /// test123
index 954fe011f141d8cd61881a686a9f0f8821ae64e9..a22586284dc8de90e7a425e37cce6fc951457833 100644 (file)
@@ -67,9 +67,7 @@ fn issue775() {
             (
                 "b".to_string(),
                 Array(vec![
-                    mk_object(
-                        &[("c".to_string(), String("\x0c\r".to_string()))],
-                    ),
+                    mk_object(&[("c".to_string(), String("\x0c\r".to_string()))]),
                     mk_object(&[("d".to_string(), String("".to_string()))]),
                 ]),
             ),