[vala/0.40] tests: Add "unsupported use of length field" test to increase coverage
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.40] tests: Add "unsupported use of length field" test to increase coverage
- Date: Mon, 24 Sep 2018 08:43:21 +0000 (UTC)
commit ae98e0cf7c705a1bc60ea3d28a9d00b9e318c799
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Sep 21 15:03:42 2018 +0200
tests: Add "unsupported use of length field" test to increase coverage
tests/Makefile.am | 1 +
tests/basic-types/bug604589.test | 6 ++++++
2 files changed, 7 insertions(+)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 4c4361ed7..fabbace3a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -31,6 +31,7 @@ TESTS = \
basic-types/bug596637.vala \
basic-types/bug596785.vala \
basic-types/bug604371.vala \
+ basic-types/bug604589.test \
basic-types/bug622178.vala \
basic-types/bug632322.vala \
basic-types/bug643612.vala \
diff --git a/tests/basic-types/bug604589.test b/tests/basic-types/bug604589.test
new file mode 100644
index 000000000..75a0b17f6
--- /dev/null
+++ b/tests/basic-types/bug604589.test
@@ -0,0 +1,6 @@
+Invalid Code
+
+void main () {
+ int[,] foo = {{1}};
+ var bar = foo.length.length;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]