Skip to content

Commit

Permalink
fix move-model test output that slightly changes
Browse files Browse the repository at this point in the history
  • Loading branch information
brmataptos committed Nov 27, 2024
1 parent be0e6e8 commit bab1e7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ error: cannot pass `u256` to a function which expects argument of type `bool`
37 │ fun wrongly_typed_caller(): num { wrongly_typed_callee(1, 1) }
│ ^

error: cannot pass `|num|bool` to a function which expects argument of type `|num|num`
error: cannot pass `|num|bool with copy+store` to a function which expects argument of type `|num|num`
┌─ tests/sources/expressions_err.move:41:76
41 │ fun wrongly_typed_fun_arg_caller(): num { wrongly_typed_fun_arg_callee(|x| false) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ error: cannot pass `u256` to a function which expects argument of type `bool`
37 │ fun wrongly_typed_caller(): num { wrongly_typed_callee(1, 1) }
│ ^

error: cannot pass `|num|bool` to a function which expects argument of type `|num|num`
error: cannot pass `|num|bool with copy+store` to a function which expects argument of type `|num|num`
┌─ tests/sources/expressions_err.move:41:76
41 │ fun wrongly_typed_fun_arg_caller(): num { wrongly_typed_fun_arg_callee(|x| false) }
Expand Down

0 comments on commit bab1e7d

Please sign in to comment.