Add missing equals sign to check equality instead of assignment

This commit is contained in:
Henry Rovner 2023-11-25 10:44:05 -08:00
parent b2d1e56df1
commit 79d3d403e8

View File

@ -20,7 +20,7 @@ private void test_attributes_validate () {
attributes["number"] = "1";
bool valid = Secret.attributes_validate (schema, attributes);
GLib.assert (valid = true);
GLib.assert (valid == true);
} catch ( GLib.Error e ) {
GLib.error (e.message);
}