Make test-tidy check that braces have spaces before or after them

This commit is contained in:
wilmoz 2015-08-31 12:30:55 -05:00
parent aee011a524
commit 64ac4f175f
10 changed files with 31 additions and 21 deletions

View file

@ -15,20 +15,20 @@ pub struct TestBindingProxy {
}
impl TestBindingProxyMethods for TestBindingProxy {
fn Length(&self) -> u32 {0}
fn SupportedPropertyNames(&self) -> Vec<DOMString> {vec![]}
fn GetNamedItem(&self, _: DOMString) -> DOMString {"".to_owned()}
fn Length(&self) -> u32 { 0 }
fn SupportedPropertyNames(&self) -> Vec<DOMString> { vec![] }
fn GetNamedItem(&self, _: DOMString) -> DOMString { "".to_owned() }
fn SetNamedItem(&self, _: DOMString, _: DOMString) -> () {}
fn GetItem(&self, _: u32) -> DOMString {"".to_owned()}
fn GetItem(&self, _: u32) -> DOMString { "".to_owned() }
fn SetItem(&self, _: u32, _: DOMString) -> () {}
fn RemoveItem(&self, _: DOMString) -> () {}
fn Stringifier(&self) -> DOMString {"".to_owned()}
fn Stringifier(&self) -> DOMString { "".to_owned() }
fn NamedCreator(&self, _: DOMString, _: DOMString) -> () {}
fn IndexedGetter(&self, _: u32, _: &mut bool) -> DOMString {"".to_owned()}
fn IndexedGetter(&self, _: u32, _: &mut bool) -> DOMString { "".to_owned() }
fn NamedDeleter(&self, _: DOMString) -> () {}
fn IndexedSetter(&self, _: u32, _: DOMString) -> () {}
fn NamedSetter(&self, _: DOMString, _: DOMString) -> () {}
fn IndexedCreator(&self, _: u32, _: DOMString) -> () {}
fn NamedGetter(&self, _: DOMString, _: &mut bool) -> DOMString {"".to_owned()}
fn NamedGetter(&self, _: DOMString, _: &mut bool) -> DOMString { "".to_owned() }
}