mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 23:37:53 +00:00
trivial: Test for the correct thing in the tests
This commit is contained in:
parent
a5dd069b43
commit
b908b1c1df
@ -2544,7 +2544,7 @@ fu_firmware_archive_func(void)
|
|||||||
"*.bin.asc",
|
"*.bin.asc",
|
||||||
&error);
|
&error);
|
||||||
g_assert_no_error(error);
|
g_assert_no_error(error);
|
||||||
g_assert_nonnull(img_bin);
|
g_assert_nonnull(img_asc);
|
||||||
img_both =
|
img_both =
|
||||||
fu_archive_firmware_get_image_fnmatch(FU_ARCHIVE_FIRMWARE(firmware), "*.bin*", &error);
|
fu_archive_firmware_get_image_fnmatch(FU_ARCHIVE_FIRMWARE(firmware), "*.bin*", &error);
|
||||||
g_assert_error(error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT);
|
g_assert_error(error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT);
|
||||||
|
Loading…
Reference in New Issue
Block a user