Skip to content

Commit

Permalink
Switch to constants
Browse files Browse the repository at this point in the history
  • Loading branch information
chasefleming committed Nov 7, 2023
1 parent 7d64493 commit 311c8dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions styles/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ func TestMergeThreeStyles(t *testing.T) {
mergedStyle := Merge(baseStyle, secondaryStyle, tertiaryStyle)

expectedStyle := Props{
"padding": "10px",
"margin": "10px", // From secondaryStyle
"color": "blue", // From tertiaryStyle
"border": "1px solid black",
Padding: "10px",
Margin: "10px", // From secondaryStyle
Color: "blue", // From tertiaryStyle
Border: "1px solid black",
}

assert.Equal(t, expectedStyle, mergedStyle)
Expand Down

0 comments on commit 311c8dd

Please sign in to comment.