[vala/staging] test: Fix "GenericAccessors" test
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] test: Fix "GenericAccessors" test
- Date: Sat, 7 Mar 2020 14:01:53 +0000 (UTC)
commit 7d241da422e2d27a4c046b706b28dde72226b6e9
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Mar 7 14:59:52 2020 +0100
test: Fix "GenericAccessors" test
tests/generics/bug640330.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/generics/bug640330.vala b/tests/generics/bug640330.vala
index 40a743efc..e57ccb074 100644
--- a/tests/generics/bug640330.vala
+++ b/tests/generics/bug640330.vala
@@ -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;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]