diff --git a/motoko/hello_cycles/Makefile b/motoko/hello_cycles/Makefile index 262521e0d..f0d322454 100644 --- a/motoko/hello_cycles/Makefile +++ b/motoko/hello_cycles/Makefile @@ -26,19 +26,19 @@ test: install echo "wallet: $(WALLET)" echo "hello_cycles: $(HELLO_CYCLES)" echo "$(dfx canister call hello_cycles wallet_balance)" - # canister has just above 3T cycles, so output start with '(3' + # canister has just above 2.98T cycles, so output start with '(2_98' dfx canister call hello_cycles wallet_balance \ - | grep '(3' && echo 'PASS' + | grep '(2_98' && echo 'PASS' dfx canister status hello_cycles dfx canister call $(WALLET) wallet_send '(record { canister = principal "$(HELLO_CYCLES)"; amount = (2000000000000:nat64); } )' - # 2T cycles added, now contains just above 5T + # 2T cycles added, now contains just above 4.98T dfx canister call hello_cycles wallet_balance \ - | grep '(5' && echo 'PASS' + | grep '(4_98' && echo 'PASS' echo '(func "$(WALLET)"."wallet_receive", 5000000)' dfx canister call hello_cycles transfer '(func "$(WALLET)"."wallet_receive", 5000000)' \ | grep '0' && echo 'PASS' dfx canister call hello_cycles wallet_balance \ - | grep '(5' && echo 'PASS' + | grep '(4_98' && echo 'PASS' .PHONY: clean .SILENT: clean