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
This commit is contained in:
parent
0ae633d88f
commit
7c48589550
1 changed files with 3 additions and 0 deletions
|
|
@ -173,6 +173,9 @@ public class CollectionAssertions : ValaUnit.TestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void int_gee_collection() throws GLib.Error {
|
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 };
|
var intv = new int[] { 42, 1337 };
|
||||||
assert_collection(new_gee_collection(intv))
|
assert_collection(new_gee_collection(intv))
|
||||||
.is_non_empty()
|
.is_non_empty()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue