servo/components
bors-servo e21b47c2cc Auto merge of #12243 - TravisDean:else-brace-check, r=ConnorGBrewster
Add style check and test for else braces

<!-- Please describe your changes on the following line: -->
Added a regex check to enforce project style guidelines. Added unit check. Catches:
```
}
else {
```
when it should be
`} else {`

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors (no core files changed)
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12234 (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12243)
<!-- Reviewable:end -->
2016-07-04 16:52:19 -07:00
..
canvas Move util::vec::byte_swap to canvas_traits 2016-07-04 16:48:15 +02:00
canvas_traits Move util::vec::byte_swap to canvas_traits 2016-07-04 16:48:15 +02:00
compositing Auto merge of #12243 - TravisDean:else-brace-check, r=ConnorGBrewster 2016-07-04 16:52:19 -07:00
constellation Refactor util::prefs operations to be methods on static struct. 2016-07-02 16:43:39 -04:00
devtools Use get_mut instead of get-remove-set in XHR send() 2016-06-27 21:31:28 -07:00
devtools_traits Use get_mut instead of get-remove-set in XHR send() 2016-06-27 21:31:28 -07:00
gfx Auto merge of #12243 - TravisDean:else-brace-check, r=ConnorGBrewster 2016-07-04 16:52:19 -07:00
gfx_traits Move util::print_tree to gfx_traits 2016-07-04 15:47:06 +02:00
layout Move util::workqueue to style 2016-07-04 21:56:09 +02:00
layout_thread Move util::workqueue to style 2016-07-04 21:56:09 +02:00
layout_traits Update Rust to 1.11.0-nightly (ad7fe6521 2016-06-23) 2016-06-27 14:13:44 +02:00
msg Use get_mut instead of get-remove-set in XHR send() 2016-06-27 21:31:28 -07:00
net Auto merge of #11875 - izgzhen:file-manager-backend, r=Manishearth 2016-07-04 09:15:23 -07:00
net_traits Add style check, test, and code fixes for an else brace check. 2016-07-04 18:38:13 -04:00
plugins Update Rust to 1.11.0-nightly (ec872dc8a 2016-06-07) 2016-06-08 14:03:57 +02:00
profile Move util::time::duration_from_seconds to profile::time 2016-06-29 18:00:24 +02:00
profile_traits Update Rust to 1.11.0-nightly (ad7fe6521 2016-06-23) 2016-06-27 14:13:44 +02:00
range Update Rust to 1.11.0-nightly (ad7fe6521 2016-06-23) 2016-06-27 14:13:44 +02:00
script Auto merge of #12243 - TravisDean:else-brace-check, r=ConnorGBrewster 2016-07-04 16:52:19 -07:00
script_layout_interface Update Rust to 1.11.0-nightly (ad7fe6521 2016-06-23) 2016-06-27 14:13:44 +02:00
script_traits Update Rust to 1.11.0-nightly (ad7fe6521 2016-06-23) 2016-06-27 14:13:44 +02:00
servo Auto merge of #12240 - perlun:fix/use-if-let, r=ConnorGBrewster 2016-07-04 13:53:05 -07:00
style Move util::workqueue to style 2016-07-04 21:56:09 +02:00
style_traits Update Rust to 1.11.0-nightly (ad7fe6521 2016-06-23) 2016-06-27 14:13:44 +02:00
util Move util::workqueue to style 2016-07-04 21:56:09 +02:00
webdriver_server WebDriver: Fix POST /session/:session_id/elements to return multiple 2016-07-04 15:11:01 +01:00