[geary/mjog/unit-test-subproject: 54/54] vala-unit: Skip gee collection in older valac



commit 9cb2487213d609d6bc8dea6f60eb9fa35d1ca1aa
Author: Michael Gratton <mike vee net>
Date:   Sun May 17 19:51:45 2020 +1000

    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 05102f961..1a82678ba 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()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]