diff --git a/compiler/tests/input_files/program_input/main_array.leo b/compiler/tests/input_files/program_input/main_array.leo index 58acae24bf..9d98777c14 100644 --- a/compiler/tests/input_files/program_input/main_array.leo +++ b/compiler/tests/input_files/program_input/main_array.leo @@ -1,3 +1,3 @@ -function main (x: [i16; 2]) { +function main (x: [i16; 1]) { console.log("{}", x); } \ No newline at end of file diff --git a/compiler/tests/input_files/program_input/mod.rs b/compiler/tests/input_files/program_input/mod.rs index 6c5d2bbb99..58efad93c1 100644 --- a/compiler/tests/input_files/program_input/mod.rs +++ b/compiler/tests/input_files/program_input/mod.rs @@ -91,5 +91,5 @@ fn test_input_array_dimensions_mismatch() { let program = parse_program_with_input(program_string, input_string).unwrap(); - assert_satisfied(program); + expect_fail(program); }