From: Rico Tzschichholz Date: Tue, 22 Feb 2022 09:47:04 +0000 (+0100) Subject: tests: Fix objectcreation-no-creation-method.test X-Git-Tag: 0.54.8~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7a9a9b9267f346dbb9f535cd2583664bee4cf20;p=thirdparty%2Fvala.git tests: Fix objectcreation-no-creation-method.test --- 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 () {