From 84b2e85c9bffc072ca4bdf8f96269f0f477029c6 Mon Sep 17 00:00:00 2001 From: vezenovm Date: Mon, 2 Oct 2023 20:02:18 +0000 Subject: [PATCH] make one input public in simple assertion program --- .../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"); }