aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/for_with.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/runnable/for_with.elna')
-rw-r--r--testsuite/runnable/for_with.elna6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/runnable/for_with.elna b/testsuite/runnable/for_with.elna
index cfec5c0..22ccb13 100644
--- a/testsuite/runnable/for_with.elna
+++ b/testsuite/runnable/for_with.elna
@@ -1,9 +1,9 @@
var
- actual: [3]Word := [3]Word{}
+ actual: [3]Word := [0u, 0u, 0u]
begin
- for element of [3]Word{ 1u, 2u, 3u } with i do
+ for element of [1u, 2u, 3u] with i do
actual[i] := i * element^
end;
- assert(actual = [3]Word{ 1u, 4u, 9u })
+ assert(actual = [1u, 4u, 9u])
end.