use the proper property name in specified_values tests

We used a string instead of stringify!'ing the name, whoops.
This commit is contained in:
Nathan Froyd 2017-08-25 16:40:40 -04:00
parent 7fa6e35583
commit 58e7f47f1d

View file

@ -17,7 +17,7 @@ fn size_of_specified_values() {
let size = size_of::<style::properties::longhands::$name::SpecifiedValue>(); let size = size_of::<style::properties::longhands::$name::SpecifiedValue>();
let is_boxed = $boxed; let is_boxed = $boxed;
if (!is_boxed && size > threshold) || (is_boxed && size <= threshold) { if (!is_boxed && size > threshold) || (is_boxed && size <= threshold) {
bad_properties.push(("$name", size, is_boxed)); bad_properties.push((stringify!($name), size, is_boxed));
} }
)+ )+
} }