Skip to content

Commit

Permalink
(ast/types) fix parsing for position
Browse files Browse the repository at this point in the history
  • Loading branch information
keithamus committed Nov 4, 2024
1 parent 37cef40 commit 1a5a0a1
Show file tree
Hide file tree
Showing 5 changed files with 223 additions and 167 deletions.
2 changes: 1 addition & 1 deletion crates/hdx_ast/src/css/types/gradient.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ mod tests {

#[test]
fn size_test() {
assert_size!(Gradient, 72);
assert_size!(Gradient, 64);
assert_size!(LinearDirection, 8);
assert_size!(RadialSize, 16);
assert_size!(ColorStopOrHint, 44);
Expand Down
2 changes: 1 addition & 1 deletion crates/hdx_ast/src/css/types/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ mod tests {

#[test]
fn size_test() {
assert_size!(Image, 72);
assert_size!(Image, 64);
}

#[test]
Expand Down
Loading

0 comments on commit 1a5a0a1

Please sign in to comment.