From e90f2e7e27120904a7dbaf0732458fbe240d6478 Mon Sep 17 00:00:00 2001 From: topecongiro Date: Mon, 4 Dec 2017 12:05:16 +0900 Subject: [PATCH] Update tests --- tests/target/expr-block.rs | 37 ++--------------------------- tests/target/expr.rs | 37 ++--------------------------- tests/target/static.rs | 48 ++++---------------------------------- 3 files changed, 8 insertions(+), 114 deletions(-) diff --git a/tests/target/expr-block.rs b/tests/target/expr-block.rs index 646569e15f19..277990c5a60e 100644 --- a/tests/target/expr-block.rs +++ b/tests/target/expr-block.rs @@ -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]; diff --git a/tests/target/expr.rs b/tests/target/expr.rs index 0206548b31b2..fff0650f4599 100644 --- a/tests/target/expr.rs +++ b/tests/target/expr.rs @@ -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]; diff --git a/tests/target/static.rs b/tests/target/static.rs index 30a549cc7321..dc1a5c78c5da 100644 --- a/tests/target/static.rs +++ b/tests/target/static.rs @@ -2,50 +2,10 @@ const FILE_GENERIC_READ: DWORD = 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 =