[vala/0.48] tests: Fix mixed up naming of base-type tests for classes
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.48] tests: Fix mixed up naming of base-type tests for classes
- Date: Sun, 14 Nov 2021 12:15:29 +0000 (UTC)
commit bb0301b1ffd78b494beffede782e4d3067a9a14b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Nov 6 18:55:37 2021 +0100
tests: Fix mixed up naming of base-type tests for classes
tests/semantic/class-base-type-invalid.test | 5 +++--
tests/semantic/class-base-type-less-accessible.test | 5 ++---
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tests/semantic/class-base-type-invalid.test b/tests/semantic/class-base-type-invalid.test
index 36ce87c4c..4f8826f3f 100644
--- a/tests/semantic/class-base-type-invalid.test
+++ b/tests/semantic/class-base-type-invalid.test
@@ -1,9 +1,10 @@
Invalid Code
-class Bar {
+struct Bar {
+ public int i;
}
-public class Foo : Bar {
+class Foo : Bar {
}
void main () {
diff --git a/tests/semantic/class-base-type-less-accessible.test
b/tests/semantic/class-base-type-less-accessible.test
index 4f8826f3f..36ce87c4c 100644
--- a/tests/semantic/class-base-type-less-accessible.test
+++ b/tests/semantic/class-base-type-less-accessible.test
@@ -1,10 +1,9 @@
Invalid Code
-struct Bar {
- public int i;
+class Bar {
}
-class Foo : Bar {
+public class Foo : Bar {
}
void main () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]