aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy_tests/rust_tidy.rs
diff options
context:
space:
mode:
authorTravis Dean <travis.j.dean@gmail.com>2016-07-04 17:05:20 -0400
committerTravis Dean <travis.j.dean@gmail.com>2016-07-04 18:38:13 -0400
commit664235821731c8d5eaf6d55852a9ee43b30a77f2 (patch)
tree4583dd60d62d5b11622ef7ab82ed61bbbf83fa37 /python/tidy/servo_tidy_tests/rust_tidy.rs
parent80cb0cf8214fd52d2884724614c40cb278ee7575 (diff)
downloadservo-664235821731c8d5eaf6d55852a9ee43b30a77f2.tar.gz
servo-664235821731c8d5eaf6d55852a9ee43b30a77f2.zip
Add style check, test, and code fixes for an else brace check.
Diffstat (limited to 'python/tidy/servo_tidy_tests/rust_tidy.rs')
-rw-r--r--python/tidy/servo_tidy_tests/rust_tidy.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/tidy/servo_tidy_tests/rust_tidy.rs b/python/tidy/servo_tidy_tests/rust_tidy.rs
index 2b9dd343f2d..9bc37070613 100644
--- a/python/tidy/servo_tidy_tests/rust_tidy.rs
+++ b/python/tidy/servo_tidy_tests/rust_tidy.rs
@@ -41,6 +41,12 @@ impl test {
let x = true;
x
&& x;
+ if x {
+ ;
+ }
+ else {
+ ;
+ }
}
}