]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
tests: Fix mixed up naming of base-type tests for classes
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 6 Nov 2021 17:55:37 +0000 (18:55 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 14 Nov 2021 11:42:45 +0000 (12:42 +0100)
tests/semantic/class-base-type-invalid.test
tests/semantic/class-base-type-less-accessible.test

index 36ce87c4c2fec80de67d6fcba610ca917fd17e19..4f8826f3f040fcab40f7063a35e616111e36c756 100644 (file)
@@ -1,9 +1,10 @@
 Invalid Code
 
-class Bar {
+struct Bar {
+       public int i;
 }
 
-public class Foo : Bar {
+class Foo : Bar {
 }
 
 void main () {
index 4f8826f3f040fcab40f7063a35e616111e36c756..36ce87c4c2fec80de67d6fcba610ca917fd17e19 100644 (file)
@@ -1,10 +1,9 @@
 Invalid Code
 
-struct Bar {
-       public int i;
+class Bar {
 }
 
-class Foo : Bar {
+public class Foo : Bar {
 }
 
 void main () {