Modify control_brace_sytle test to ensure match braces are formatted correctly.

This commit is contained in:
Sean Olson 2017-06-19 08:12:15 -07:00
parent d7298fbd97
commit ea1df1777b
6 changed files with 25 additions and 0 deletions

View File

@ -3,4 +3,8 @@
fn main() {
if lorem { println!("ipsum!"); } else { println!("dolor!"); }
match magi {
Homura => "Akemi",
Madoka => "Kaname",
}
}

View File

@ -3,4 +3,8 @@
fn main() {
if lorem { println!("ipsum!"); } else { println!("dolor!"); }
match magi {
Homura => "Akemi",
Madoka => "Kaname",
}
}

View File

@ -3,4 +3,8 @@
fn main() {
if lorem { println!("ipsum!"); } else { println!("dolor!"); }
match magi {
Homura => "Akemi",
Madoka => "Kaname",
}
}

View File

@ -10,4 +10,9 @@ fn main() {
{
println!("dolor!");
}
match magi
{
Homura => "Akemi",
Madoka => "Kaname",
}
}

View File

@ -7,4 +7,8 @@ fn main() {
} else {
println!("dolor!");
}
match magi {
Homura => "Akemi",
Madoka => "Kaname",
}
}

View File

@ -8,4 +8,8 @@ fn main() {
else {
println!("dolor!");
}
match magi {
Homura => "Akemi",
Madoka => "Kaname",
}
}