diff options
author | Jürg Billeter <j@bitron.ch> | 2016-09-27 17:27:32 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2016-09-27 17:28:22 +0200 |
commit | dea939e1f7e6ed3e512bddf46e384283cbdacd1e (patch) | |
tree | e7925916fc76003a91fd461815d79826fc729704 | |
parent | 71c884b0a7fe19bc43de7280cda248407821d1f2 (diff) | |
download | libgee-dea939e1f7e6ed3e512bddf46e384283cbdacd1e.tar.gz |
Fix type parameters in tests
-rw-r--r-- | tests/testreadonlybidirlist.vala | 2 | ||||
-rw-r--r-- | tests/testreadonlylist.vala | 2 | ||||
-rw-r--r-- | tests/testreadonlyset.vala | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/testreadonlybidirlist.vala b/tests/testreadonlybidirlist.vala index 409e744..d6f558f 100644 --- a/tests/testreadonlybidirlist.vala +++ b/tests/testreadonlybidirlist.vala @@ -30,7 +30,7 @@ public class ReadOnlyBidirListTests : ReadOnlyListTests { } protected override Collection<string> get_ro_view (Collection<string> collection) { - return ((Gee.BidirList) collection).read_only_view; + return ((Gee.BidirList<string>) collection).read_only_view; } public new void test_immutable_iterator () { diff --git a/tests/testreadonlylist.vala b/tests/testreadonlylist.vala index 9db5e40..1f0ad92 100644 --- a/tests/testreadonlylist.vala +++ b/tests/testreadonlylist.vala @@ -49,7 +49,7 @@ public class ReadOnlyListTests : ReadOnlyCollectionTests { } protected override Collection<string> get_ro_view (Collection<string> collection) { - return ((Gee.List) collection).read_only_view; + return ((Gee.List<string>) collection).read_only_view; } public new void test_immutable_iterator () { diff --git a/tests/testreadonlyset.vala b/tests/testreadonlyset.vala index a573cda..3a853d7 100644 --- a/tests/testreadonlyset.vala +++ b/tests/testreadonlyset.vala @@ -41,6 +41,6 @@ public class ReadOnlySetTests : ReadOnlyCollectionTests { } protected override Collection<string> get_ro_view (Collection<string> collection) { - return ((Gee.Set) collection).read_only_view; + return ((Gee.Set<string>) collection).read_only_view; } } |