Skip to content

Commit

Permalink
Fixing a test testing border instead of padding (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
adjabaev authored Dec 21, 2022
1 parent d8c8bb4 commit 4658ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/border_and_padding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fn padding_on_a_single_axis_doesnt_increase_size() {
let mut taffy = Taffy::new();
let node = taffy
.new_leaf(Style {
border: {
padding: {
let mut lengths = [LengthPercentage::ZERO; 4];
lengths[i] = LengthPercentage::Points(10.);
arr_to_rect(lengths)
Expand Down

0 comments on commit 4658ee0

Please sign in to comment.