aboutsummaryrefslogtreecommitdiffstats
path: root/internal/notify/image_test.go
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-15 18:04:59 +0200
committerDanilo M. <danix@danix.xyz>2026-09-15 18:04:59 +0200
commit6ad6f122eb2ec9cd8a55c042dffe38db41ed1959 (patch)
tree5cc008927b01b23944c5c3e3d8495e7874aa6cbe /internal/notify/image_test.go
parentddf793905cd8739d27003296a5042a7dd905f1d3 (diff)
downloadnotifyd-6ad6f122eb2ec9cd8a55c042dffe38db41ed1959.tar.gz
notifyd-6ad6f122eb2ec9cd8a55c042dffe38db41ed1959.zip
test(notify): cover image-data materialisation
TestNotifyMaterialisesImageData drives a 2x2 RGBA image-data hint through Notify and asserts the PNG is written under the image directory for the returned id, decodes to the right bounds, and is carried on the re-published Popup.Image. The encode-error path now logs instead of dropping the failure silently, matching the WriteImage branch.
Diffstat (limited to 'internal/notify/image_test.go')
0 files changed, 0 insertions, 0 deletions