From e4ce1c4d19bd89a1d23e0c74693cd02d15a4a86f Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Sat, 11 Feb 2023 22:34:48 +0000 Subject: [PATCH] trivial: Test for the correct thing in the tests --- libfwupdplugin/fu-self-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfwupdplugin/fu-self-test.c b/libfwupdplugin/fu-self-test.c index c105fa271..239280c13 100644 --- a/libfwupdplugin/fu-self-test.c +++ b/libfwupdplugin/fu-self-test.c @@ -2544,7 +2544,7 @@ fu_firmware_archive_func(void) "*.bin.asc", &error); g_assert_no_error(error); - g_assert_nonnull(img_bin); + g_assert_nonnull(img_asc); img_both = fu_archive_firmware_get_image_fnmatch(FU_ARCHIVE_FIRMWARE(firmware), "*.bin*", &error); g_assert_error(error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT);