]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
test: Fix "GenericAccessors" test
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 7 Mar 2020 13:59:52 +0000 (14:59 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 7 Mar 2020 14:01:08 +0000 (15:01 +0100)
tests/generics/bug640330.vala

index 40a743efc4b43a4f14d21cb9e65d30102af94c5a..e57ccb07419d84e5c4fc3456fd3274b6f9e64094 100644 (file)
@@ -4,7 +4,7 @@ interface Foo<G> : Object {
                assert (typeof (G) == typeof (string));
                G g_copy = g;
                assert (GLib.strcmp ((string) g_copy, "foo") == 0);
-               assert (&g_copy != &g);
+               assert (g_copy != g);
                return g;
        }
 }