[vala/0.48] tests: Fix objectcreation-no-creation-method.test
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.48] tests: Fix objectcreation-no-creation-method.test
- Date: Mon, 21 Mar 2022 08:17:08 +0000 (UTC)
commit ff165c229c1df571a85af385ef441ea7bb761813
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]