Skip to content

Commit

Permalink
chore: Make one input public in simple assertion program (noir-lang#2949
Browse files Browse the repository at this point in the history
)
  • Loading branch information
vezenovm authored Oct 2, 2023
1 parent 4030e00 commit 2a33950
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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");
}

0 comments on commit 2a33950

Please sign in to comment.