From 7c4858955042cb39d5182abb5afee078e979b212 Mon Sep 17 00:00:00 2001 From: Michael Gratton Date: Sun, 17 May 2020 19:51:45 +1000 Subject: [PATCH] vala-unit: Skip gee collection in older valac It will fail without current vala head, so just skip under 0.48 or less. See GNOME/vala#992 --- subprojects/vala-unit/test/collection-assertions.vala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subprojects/vala-unit/test/collection-assertions.vala b/subprojects/vala-unit/test/collection-assertions.vala index 05102f96..1a82678b 100644 --- a/subprojects/vala-unit/test/collection-assertions.vala +++ b/subprojects/vala-unit/test/collection-assertions.vala @@ -173,6 +173,9 @@ public class CollectionAssertions : ValaUnit.TestCase { } public void int_gee_collection() throws GLib.Error { +#if !VALA_0_50 + skip("Collections containing non-pointer values not currently supported. See GNOME/vala#992"); +#endif var intv = new int[] { 42, 1337 }; assert_collection(new_gee_collection(intv)) .is_non_empty()