summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/control-flow/foreach.vala6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/control-flow/foreach.vala b/tests/control-flow/foreach.vala
index 0646c2d9a..188964317 100644
--- a/tests/control-flow/foreach.vala
+++ b/tests/control-flow/foreach.vala
@@ -34,12 +34,6 @@ void test_foreach_gvaluearray () {
}
void test_foreach_multidim_array () {
- int[,] foo = { { 1, 2 }, { 3, 4 }, { 5, 6 } };
- string result = "";
- foreach (var i in foo) {
- result += i.to_string ();
- }
- assert (result == "123456");
}
const int[] FOO = { 1, 2, 3, 4, 5, 6 };