mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2025-03-11 19:46:38 +00:00
Add missing equals sign to check equality instead of assignment
This commit is contained in:
parent
b2d1e56df1
commit
79d3d403e8
@ -20,7 +20,7 @@ private void test_attributes_validate () {
|
|||||||
attributes["number"] = "1";
|
attributes["number"] = "1";
|
||||||
|
|
||||||
bool valid = Secret.attributes_validate (schema, attributes);
|
bool valid = Secret.attributes_validate (schema, attributes);
|
||||||
GLib.assert (valid = true);
|
GLib.assert (valid == true);
|
||||||
} catch ( GLib.Error e ) {
|
} catch ( GLib.Error e ) {
|
||||||
GLib.error (e.message);
|
GLib.error (e.message);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user