mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 04:38:55 +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";
|
||||
|
||||
bool valid = Secret.attributes_validate (schema, attributes);
|
||||
GLib.assert (valid = true);
|
||||
GLib.assert (valid == true);
|
||||
} catch ( GLib.Error e ) {
|
||||
GLib.error (e.message);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user