From 2d7886f951b8934f0c0447c9da56a64883ab11a4 Mon Sep 17 00:00:00 2001 From: collin Date: Thu, 3 Sep 2020 13:58:04 -0700 Subject: [PATCH] add test comments --- compiler/tests/array/input/type_nested_value_nested_3x2_fail.in | 2 +- .../tests/array/input/type_nested_value_nested_4x3x2_fail.in | 2 +- compiler/tests/array/input/type_nested_value_tuple_3x2_fail.in | 2 +- .../tests/array/input/type_nested_value_tuple_4x3x2_fail.in | 2 +- compiler/tests/array/input/type_tuple_value_nested_3x2_fail.in | 2 +- .../tests/array/input/type_tuple_value_nested_4x3x2_fail.in | 2 +- compiler/tests/array/input/type_tuple_value_tuple_3x2_fail.in | 2 +- compiler/tests/array/input/type_tuple_value_tuple_4x3x2_fail.in | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/compiler/tests/array/input/type_nested_value_nested_3x2_fail.in b/compiler/tests/array/input/type_nested_value_nested_3x2_fail.in index 7ccb8c5f60..280b38b909 100644 --- a/compiler/tests/array/input/type_nested_value_nested_3x2_fail.in +++ b/compiler/tests/array/input/type_nested_value_nested_3x2_fail.in @@ -1,2 +1,2 @@ [main] -a: [[u8; 2]; 3] = [[0; 3]; 2]; // See `type_nested_value_nested_3x2.in` for correct dimensions +a: [[u8; 2]; 3] = [[0; 3]; 2]; // initializer (incorrectly reversed ordering) diff --git a/compiler/tests/array/input/type_nested_value_nested_4x3x2_fail.in b/compiler/tests/array/input/type_nested_value_nested_4x3x2_fail.in index a31242e064..11f44a76a4 100644 --- a/compiler/tests/array/input/type_nested_value_nested_4x3x2_fail.in +++ b/compiler/tests/array/input/type_nested_value_nested_4x3x2_fail.in @@ -1,2 +1,2 @@ [main] -a: [[[u8; 2]; 3]; 4] = [[[0; 4]; 3]; 2]; // See `type_nested_value_nested_4x3x2.in` for correct dimensions +a: [[[u8; 2]; 3]; 4] = [[[0; 4]; 3]; 2]; // initializer (incorrectly reversed ordering) diff --git a/compiler/tests/array/input/type_nested_value_tuple_3x2_fail.in b/compiler/tests/array/input/type_nested_value_tuple_3x2_fail.in index 3f70a19a92..4a43d7d816 100644 --- a/compiler/tests/array/input/type_nested_value_tuple_3x2_fail.in +++ b/compiler/tests/array/input/type_nested_value_tuple_3x2_fail.in @@ -1,2 +1,2 @@ [main] -a: [[u8; 2]; 3] = [0; (2, 3)]; // See `type_nested_value_tuple_3x2.in` for correct dimensions +a: [[u8; 2]; 3] = [0; (2, 3)]; // initializer (incorrectly reversed ordering) diff --git a/compiler/tests/array/input/type_nested_value_tuple_4x3x2_fail.in b/compiler/tests/array/input/type_nested_value_tuple_4x3x2_fail.in index f4fc43c867..eed469d6ac 100644 --- a/compiler/tests/array/input/type_nested_value_tuple_4x3x2_fail.in +++ b/compiler/tests/array/input/type_nested_value_tuple_4x3x2_fail.in @@ -1,2 +1,2 @@ [main] -a: [[[u8; 2]; 3]; 4] = [0; (2, 3, 4)]; // See `type_nested_value_tuple_4x3x2.in` for correct dimensions +a: [[[u8; 2]; 3]; 4] = [0; (2, 3, 4)]; // initializer (incorrectly reversed ordering) diff --git a/compiler/tests/array/input/type_tuple_value_nested_3x2_fail.in b/compiler/tests/array/input/type_tuple_value_nested_3x2_fail.in index a5f0c53004..c787cbffd9 100644 --- a/compiler/tests/array/input/type_tuple_value_nested_3x2_fail.in +++ b/compiler/tests/array/input/type_tuple_value_nested_3x2_fail.in @@ -1,2 +1,2 @@ [main] -a: [u8; (3, 2)] = [[0; 3]; 2]; // See `type_tuple_value_nested_3x2.in` for correct dimensions +a: [u8; (3, 2)] = [[0; 3]; 2]; // initializer (incorrectly reversed ordering) diff --git a/compiler/tests/array/input/type_tuple_value_nested_4x3x2_fail.in b/compiler/tests/array/input/type_tuple_value_nested_4x3x2_fail.in index d18e017f94..3e194e590d 100644 --- a/compiler/tests/array/input/type_tuple_value_nested_4x3x2_fail.in +++ b/compiler/tests/array/input/type_tuple_value_nested_4x3x2_fail.in @@ -1,2 +1,2 @@ [main] -a: [u8; (4, 3, 2)] = [[[0; 4]; 3]; 2]; // See `type_tuple_value_nested_4x3x2.in` for correct dimensions +a: [u8; (4, 3, 2)] = [[[0; 4]; 3]; 2]; // initializer (incorrectly reversed ordering) diff --git a/compiler/tests/array/input/type_tuple_value_tuple_3x2_fail.in b/compiler/tests/array/input/type_tuple_value_tuple_3x2_fail.in index e2b3fbbf0d..3409e8aaa9 100644 --- a/compiler/tests/array/input/type_tuple_value_tuple_3x2_fail.in +++ b/compiler/tests/array/input/type_tuple_value_tuple_3x2_fail.in @@ -1,2 +1,2 @@ [main] -a: [u8; (3, 2)] = [0; (2, 3)]; // See `type_tuple_value_tuple_3x2.in` for correct dimensions +a: [u8; (3, 2)] = [0; (2, 3)]; // initializer (incorrectly reversed ordering) diff --git a/compiler/tests/array/input/type_tuple_value_tuple_4x3x2_fail.in b/compiler/tests/array/input/type_tuple_value_tuple_4x3x2_fail.in index 1cb833e84e..d6de4af3c5 100644 --- a/compiler/tests/array/input/type_tuple_value_tuple_4x3x2_fail.in +++ b/compiler/tests/array/input/type_tuple_value_tuple_4x3x2_fail.in @@ -1,2 +1,2 @@ [main] -a: [u8; (4, 3, 2)] = [0; (2, 3, 4)]; // See `type_tuple_value_tuple_4x3x2.in` for correct dimensions +a: [u8; (4, 3, 2)] = [0; (2, 3, 4)]; // initializer (incorrectly reversed ordering)