Use size_of_test! macro in style and stylo tests.

This commit is contained in:
Simon Sapin 2017-05-18 17:17:29 +02:00
parent 864f5509d8
commit 5e60865d19
8 changed files with 12 additions and 34 deletions

View file

@ -2,10 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#[test]
fn size_of_property_declaration() {
::style::properties::test_size_of_property_declaration();
}
use style::properties;
size_of_test!(test_size_of_property_declaration, properties::PropertyDeclaration, 32);
#[test]
fn size_of_specified_values() {