summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2022-02-22 10:47:04 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2022-03-21 09:06:43 +0100
commitff165c229c1df571a85af385ef441ea7bb761813 (patch)
treefbd1cc0efabd9cef3e9cddfc6480c1c8734180a6
parent7f84443cdcdb991f9ae0fa251a3268aa2ac98608 (diff)
downloadvala-ff165c229c1df571a85af385ef441ea7bb761813.tar.gz
tests: Fix objectcreation-no-creation-method.test
-rw-r--r--tests/semantic/objectcreation-no-creation-method.test4
1 files changed, 3 insertions, 1 deletions
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 () {