summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2022-02-22 10:47:04 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2022-02-22 10:47:04 +0100
commitf8b401d23f71fea94b283ef05fb9c096b521be93 (patch)
tree451f2164e8152eb253076aa99fa4a51ca1b2a250
parente72804efa476dedc48911d8ed73cd938b4e6fa92 (diff)
downloadvala-f8b401d23f71fea94b283ef05fb9c096b521be93.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 () {