Skip to content
Snippets Groups Projects

Error messages printing

Merged Sander requested to merge error-messages-printing into dev
Compare and Show latest version
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -60,6 +60,7 @@ let%expect_test _ =
@@ -60,6 +60,7 @@ let%expect_test _ =
[%expect {|
[%expect {|
ligo: error
ligo: error
The provided storage does not have the correct type for the contract.
The provided storage does not have the correct type for the contract.
 
Bad types:
Bad types:
expected record[card_patterns -> Map (nat , record[coefficient -> mutez , quantity -> nat]) , cards -> Map (nat , record[card_owner -> address , card_pattern -> nat]) , next_id -> nat]
expected record[card_patterns -> Map (nat , record[coefficient -> mutez , quantity -> nat]) , cards -> Map (nat , record[card_owner -> address , card_pattern -> nat]) , next_id -> nat]
got sum[Buy_single -> record[card_to_buy -> nat] , Sell_single -> record[card_to_sell -> nat] , Transfer_single -> record[card_to_transfer -> nat , destination -> address]] |}] ;
got sum[Buy_single -> record[card_to_buy -> nat] , Sell_single -> record[card_to_sell -> nat] , Transfer_single -> record[card_to_transfer -> nat , destination -> address]] |}] ;
 
\ No newline at end of file
Loading