Skip to content

Commit

Permalink
use the proper property name in specified_values tests
Browse files Browse the repository at this point in the history
We used a string instead of stringify!'ing the name, whoops.
  • Loading branch information
froydnj committed Aug 25, 2017
1 parent 7fa6e35 commit 58e7f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/stylo/specified_values.rs
Expand Up @@ -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));
}
)+
}
Expand Down

0 comments on commit 58e7f47

Please sign in to comment.