Skip to content

Commit

Permalink
Update test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jneem committed Nov 18, 2024
1 parent 8f4106d commit 3bb2bcc
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ warning: plain functions as contracts are deprecated
13null | Contract
^^^^ applied to this term
= use one of the constructors in `std.contract` instead, like `std.contract.custom`
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`

error: contract broken by a value
main error message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ warning: plain functions as contracts are deprecated
6 │ [1, 2] | Array C
│ ^^^^^^ applied to this term
= use one of the constructors in `std.contract` instead, like `std.contract.custom`
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`

warning: plain functions as contracts are deprecated
┌─ [INPUTS_PATH]/warnings/naked_contract.ncl:5:3
Expand All @@ -22,4 +22,4 @@ warning: plain functions as contracts are deprecated
5 │ 1 | C,
│ ^ applied to this term
= use one of the constructors in `std.contract` instead, like `std.contract.custom`
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ warning: plain functions as contracts are deprecated
6 │ [1, 2] | Array (C "hi")
│ ^^^^^^ applied to this term
= use one of the constructors in `std.contract` instead, like `std.contract.custom`
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`

warning: plain functions as contracts are deprecated
┌─ [INPUTS_PATH]/warnings/naked_contract_parametrized.ncl:5:3
Expand All @@ -22,4 +22,4 @@ warning: plain functions as contracts are deprecated
5 │ 1 | C "hi",
│ ^ applied to this term
= use one of the constructors in `std.contract` instead, like `std.contract.custom`
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ warning: plain functions as contracts are deprecated
19null | ParentContract
^^^^ applied to this term
= use one of the constructors in `std.contract` instead, like `std.contract.custom`
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`

warning: plain functions as contracts are deprecated
┌─ <stdlib/std.ncl>:1549:9
Expand All @@ -36,7 +36,7 @@ warning: plain functions as contracts are deprecated
7 │ │ |> std.contract.blame
│ ╰───────────────────────' this function
= use one of the constructors in `std.contract` instead, like `std.contract.custom`
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`

error: contract broken by a value
child's message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ warning: plain functions as contracts are deprecated
17 │ inner = { qux_miss_param | SomeParametricContract = {} },
^^ applied to this term
= use one of the constructors in `std.contract` instead, like `std.contract.custom`
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`

error: non serializable term
┌─ [INPUTS_PATH]/errors/non_serializable_print_path.ncl:8:30
Expand Down

0 comments on commit 3bb2bcc

Please sign in to comment.