trivial: Fix a BIOS setting self test value

PVS: The 'ret' variable is assigned but is not used by the end of the function.
This commit is contained in:
Richard Hughes 2022-09-09 11:13:12 +01:00
parent 9ab03d586e
commit 6bb1b1c81f

View File

@ -1487,17 +1487,20 @@ fwupd_bios_settings_func(void)
g_assert_nonnull(json2);
ret = fu_test_compare_lines(json2,
"{\n"
" \"BiosSettingReadOnly\" : \"false\",\n"
" \"BiosSettingType\" : 1,\n"
" \"Name\" : \"UEFISecureBoot\",\n"
" \"Description\" : \"Controls Secure boot\",\n"
" \"Filename\" : \"/path/to/bar\",\n"
" \"BiosSettingCurrentValue\" : \"Disabled\",\n"
" \"BiosSettingReadOnly\" : \"false\",\n"
" \"BiosSettingType\" : 1,\n"
" \"BiosSettingPossibleValues\" : [\n"
" \"Disabled\",\n"
" \"Enabled\"\n"
" ]\n"
"}",
&error);
g_assert_no_error(error);
g_assert_true(ret);
}
int