]> git.lizzy.rs Git - rust.git/commitdiff
Update tests
authortopecongiro <seuchida@gmail.com>
Mon, 4 Dec 2017 03:05:16 +0000 (12:05 +0900)
committertopecongiro <seuchida@gmail.com>
Mon, 4 Dec 2017 03:05:16 +0000 (12:05 +0900)
tests/target/expr-block.rs
tests/target/expr.rs
tests/target/static.rs

index 646569e15f1914e4d2f495ee19c255789c7a16ff..277990c5a60e0e2c7a02739d231ee30d54c781e5 100644 (file)
@@ -41,41 +41,8 @@ fn arrays() {
 
 fn arrays() {
     let x = [
-        0,
-        1,
-        2,
-        3,
-        4,
-        5,
-        6,
-        7,
-        8,
-        9,
-        0,
-        1,
-        2,
-        3,
-        4,
-        5,
-        6,
-        7,
-        8,
-        9,
-        0,
-        7,
-        8,
-        9,
-        0,
-        1,
-        2,
-        3,
-        4,
-        5,
-        6,
-        7,
-        8,
-        9,
-        0,
+        0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 7, 8, 9, 0, 1, 2, 3, 4, 5,
+        6, 7, 8, 9, 0,
     ];
 
     let y = [/* comment */ 1, 2 /* post comment */, 3];
index 0206548b31b2c453e48c3759ba3ec9a7acb9241e..fff0650f4599f18fc5cac905da6c7d8620eb7477 100644 (file)
@@ -171,41 +171,8 @@ fn issue184(source: &str) {
 
 fn arrays() {
     let x = [
-        0,
-        1,
-        2,
-        3,
-        4,
-        5,
-        6,
-        7,
-        8,
-        9,
-        0,
-        1,
-        2,
-        3,
-        4,
-        5,
-        6,
-        7,
-        8,
-        9,
-        0,
-        7,
-        8,
-        9,
-        0,
-        1,
-        2,
-        3,
-        4,
-        5,
-        6,
-        7,
-        8,
-        9,
-        0,
+        0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 7, 8, 9, 0, 1, 2, 3, 4, 5,
+        6, 7, 8, 9, 0,
     ];
 
     let y = [/* comment */ 1, 2 /* post comment */, 3];
index 30a549cc7321fd98a95e70d5f497eb2fea4ad314..dc1a5c78c5da584e7b25ce14f96f74354661895e 100644 (file)
@@ -2,50 +2,10 @@
     STANDARD_RIGHTS_READ | FILE_READ_DATA | FILE_READ_ATTRIBUTES | FILE_READ_EA | SYNCHRONIZE;
 
 static boolnames: &'static [&'static str] = &[
-    "bw",
-    "am",
-    "xsb",
-    "xhp",
-    "xenl",
-    "eo",
-    "gn",
-    "hc",
-    "km",
-    "hs",
-    "in",
-    "db",
-    "da",
-    "mir",
-    "msgr",
-    "os",
-    "eslok",
-    "xt",
-    "hz",
-    "ul",
-    "xon",
-    "nxon",
-    "mc5i",
-    "chts",
-    "nrrmc",
-    "npc",
-    "ndscr",
-    "ccc",
-    "bce",
-    "hls",
-    "xhpa",
-    "crxm",
-    "daisy",
-    "xvpa",
-    "sam",
-    "cpix",
-    "lpix",
-    "OTbs",
-    "OTns",
-    "OTnc",
-    "OTMT",
-    "OTNL",
-    "OTpt",
-    "OTxr",
+    "bw", "am", "xsb", "xhp", "xenl", "eo", "gn", "hc", "km", "hs", "in", "db", "da", "mir",
+    "msgr", "os", "eslok", "xt", "hz", "ul", "xon", "nxon", "mc5i", "chts", "nrrmc", "npc",
+    "ndscr", "ccc", "bce", "hls", "xhpa", "crxm", "daisy", "xvpa", "sam", "cpix", "lpix", "OTbs",
+    "OTns", "OTnc", "OTMT", "OTNL", "OTpt", "OTxr",
 ];
 
 static mut name: SomeType =