[vala/0.54] tests: Fix objectcreation-no-creation-method.test



commit c7a9a9b9267f346dbb9f535cd2583664bee4cf20
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Feb 22 10:47:04 2022 +0100

    tests: Fix objectcreation-no-creation-method.test

 tests/semantic/objectcreation-no-creation-method.test | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/tests/semantic/objectcreation-no-creation-method.test 
b/tests/semantic/objectcreation-no-creation-method.test
index 17195fa31..45cf0ed88 100644
--- a/tests/semantic/objectcreation-no-creation-method.test
+++ b/tests/semantic/objectcreation-no-creation-method.test
@@ -1,6 +1,8 @@
 Invalid Code
 
-void bar () {
+class Foo {
+       public void bar () {
+       }
 }
 
 void main () {


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