Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
carson-katri committed Aug 22, 2023
1 parent a795702 commit cfffd8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/RenderingTests/ButtonTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ final class ButtonTests: XCTestCase {
try assertMatch(#"<RenameButton />"#) {
RenameButton()
}
try assertMatch(#"<RenameButton modifiers='[{"type":"rename_action","event":"rename","target":null}]' />"#) {
try assertMatch(#"<RenameButton modifiers='[{"type":"rename_action","action":{ "event": "rename" }}]' />"#) {
RenameButton()
.renameAction {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ final class DrawingAndGraphicsModifiersTests: XCTestCase {
#"""
<Image
system-name="envelope.badge.fill"
modifiers='[{"color":{"blue":null,"brightness":null,"green":null,"hue":null,"opacity":null,"red":null,"rgb_color_space":null,"saturation":null,"string":"system-blue","white":null},"type":"foreground_color"},{"font":{"modifiers":[],"properties":{"style":"large_title"},"type":"system"},"type":"font"},{"alignment":"center","content":"mask","type":"mask"}]'
modifiers='[{"color":{"blue":null,"brightness":null,"green":null,"hue":null,"opacity":null,"red":null,"rgb_color_space":null,"saturation":null,"string":"system-blue","white":null},"type":"foreground_color"},{"font":{"modifiers":[],"properties":{"style":"large_title"},"type":"system"},"type":"font"},{"alignment":"center","mask":"mask","type":"mask"}]'
>
<Rectangle template="mask" modifiers='[{"opacity":0.1,"type":"opacity"}]' />
</Image>
Expand Down

0 comments on commit cfffd8b

Please sign in to comment.