Skip to content

Commit

Permalink
make one input public in simple assertion program
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm committed Oct 2, 2023
1 parent 309fa70 commit 84b2e85
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 84b2e85

Please sign in to comment.