[vala/0.42] 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.42] tests: Add "unsupported use of length field" test to increase coverage
- Date: Sun, 23 Sep 2018 09:06:15 +0000 (UTC)
commit 2231dbde45aabfa5fc11d20d6792642cafe5b9b4
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 1b8162638..57177c33f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -36,6 +36,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]