mirror of
https://github.com/servo/servo.git
synced 2025-06-21 15:49:04 +01:00
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:
parent
7fa6e35583
commit
58e7f47f1d
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ fn size_of_specified_values() {
|
|||
let size = size_of::<style::properties::longhands::$name::SpecifiedValue>();
|
||||
let is_boxed = $boxed;
|
||||
if (!is_boxed && size > threshold) || (is_boxed && size <= threshold) {
|
||||
bad_properties.push(("$name", size, is_boxed));
|
||||
bad_properties.push((stringify!($name), size, is_boxed));
|
||||
}
|
||||
)+
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue