mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-15 05:25:02 +00:00
trivial: Test for the correct thing in the tests
This commit is contained in:
parent
9d313bb3c9
commit
e4ce1c4d19
@ -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