From 2a3395031df79ba4318cb64feaf781bf4db811e8 Mon Sep 17 00:00:00 2001 From: Maxim Vezenov Date: Mon, 2 Oct 2023 21:30:36 +0100 Subject: [PATCH] chore: Make one input public in simple assertion program (#2949) --- .../tests/execution_success/assert_statement/src/main.nr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling/nargo_cli/tests/execution_success/assert_statement/src/main.nr b/tooling/nargo_cli/tests/execution_success/assert_statement/src/main.nr index 74e93249741..3209f5b944b 100644 --- a/tooling/nargo_cli/tests/execution_success/assert_statement/src/main.nr +++ b/tooling/nargo_cli/tests/execution_success/assert_statement/src/main.nr @@ -1,7 +1,7 @@ // Tests a very simple program. // // The features being tested is assertion -fn main(x : Field, y : Field) { +fn main(x : Field, y : pub Field) { assert(x == y, "x and y are not equal"); assert_eq(x, y, "x and y are not equal"); }