Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Update test_contract.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Sep 20, 2019
1 parent cfa9e6c commit 8caace3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/contract_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ echo Deploying contract
../bin/near deploy --accountId=$testaccount --wasmFile=out/main.wasm
echo Calling functions
RESULT=$(../bin/near call $testaccount hello "{}" --accountId=test.near)
if [[ $RESULT != *"Result: helloa"* ]]; then
if [[ $RESULT != *"helloa"* ]]; then
echo FAILURE Unexpected output from near call
exit 1
fi

0 comments on commit 8caace3

Please sign in to comment.