[vala/staging: 3/4] tests: Fix objectcreation-no-creation-method.test
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 3/4] tests: Fix objectcreation-no-creation-method.test
- Date: Tue, 22 Feb 2022 10:00:06 +0000 (UTC)
commit f8b401d23f71fea94b283ef05fb9c096b521be93
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]