Skip to content

Commit

Permalink
fix test after background_color become Option
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Jun 9, 2024
1 parent dc7f1c2 commit cc45f11
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sugarloaf/src/sugarloaf/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ pub mod test {
before: Sugar {
content: 'a',
foreground_color: [0.0, 0.0, 0.0, 0.0],
background_color: Some([0.0, 0.0, 0.0, 0.0]),
background_color: None,
style: SugarStyle::Disabled,
repeated: 0,
decoration: Disabled,
Expand All @@ -361,7 +361,7 @@ pub mod test {
after: Sugar {
content: 'b',
foreground_color: [0.0, 0.0, 0.0, 0.0],
background_color: Some([0.0, 0.0, 0.0, 0.0]),
background_color: None,
style: SugarStyle::Disabled,
repeated: 0,
decoration: Disabled,
Expand Down Expand Up @@ -391,7 +391,7 @@ pub mod test {
before: Sugar {
content: 'k',
foreground_color: [0.0, 0.0, 0.0, 0.0],
background_color: Some([0.0, 0.0, 0.0, 0.0]),
background_color: None,
style: SugarStyle::Disabled,
repeated: 0,
decoration: Disabled,
Expand All @@ -401,7 +401,7 @@ pub mod test {
after: Sugar {
content: 'z',
foreground_color: [0.0, 0.0, 0.0, 0.0],
background_color: Some([0.0, 0.0, 0.0, 0.0]),
background_color: None,
style: SugarStyle::Disabled,
repeated: 0,
decoration: Disabled,
Expand Down

0 comments on commit cc45f11

Please sign in to comment.