[geary/mjog/unit-test-subproject: 69/69] vala-unit: Skip gee collection in older valac
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mjog/unit-test-subproject: 69/69] vala-unit: Skip gee collection in older valac
- Date: Tue, 30 Jun 2020 07:36:23 +0000 (UTC)
commit 7c4858955042cb39d5182abb5afee078e979b212
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]