From 3ddd120776b93714a14d7ea1af00fb9c89a3a27b Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sat, 8 Oct 2016 16:30:58 +0200 Subject: [PATCH] tests: Don't rely on external delegate defintions --- tests/asynchronous/bug598697.vala | 2 ++ tests/methods/bug596726.vala | 2 ++ tests/objects/bug596621.vala | 2 ++ 3 files changed, 6 insertions(+) diff --git a/tests/asynchronous/bug598697.vala b/tests/asynchronous/bug598697.vala index 804039a42..24d310e09 100644 --- a/tests/asynchronous/bug598697.vala +++ b/tests/asynchronous/bug598697.vala @@ -1,3 +1,5 @@ +delegate void Func (); + public class Foo { public async void do_foo () { Func f = () => {}; diff --git a/tests/methods/bug596726.vala b/tests/methods/bug596726.vala index 6eaec2606..2203ece4c 100644 --- a/tests/methods/bug596726.vala +++ b/tests/methods/bug596726.vala @@ -1,3 +1,5 @@ +delegate void Func (); + void do_bar (Func f) { } diff --git a/tests/objects/bug596621.vala b/tests/objects/bug596621.vala index 348ea40ad..8a732f175 100644 --- a/tests/objects/bug596621.vala +++ b/tests/objects/bug596621.vala @@ -1,3 +1,5 @@ +delegate void Func (); + class Foo : Object { [CCode (has_construct_function = false)] public Foo () { -- 2.47.2