Update tests

This commit is contained in:
topecongiro 2017-12-04 12:05:16 +09:00
parent 4018873d4b
commit e90f2e7e27
3 changed files with 8 additions and 114 deletions

View 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];

View 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];

View file

@ -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 =