Skip to content

Commit

Permalink
Revert "fix test"
Browse files Browse the repository at this point in the history
This reverts commit 82d61d5.
  • Loading branch information
vgrichina committed Nov 5, 2019
1 parent 434532f commit 0bd921b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/test_account_operations.sh
@@ -1,15 +1,15 @@
#!/bin/bash
set -ex
rm -rf tmp-project
yarn create near-app --plain tmp-project
./bin/near new_project 'tmp-project'
cd tmp-project
timestamp=$(date +%s)
testaccount=testaccount$timestamp
echo Create account
../bin/near create_account $testaccount

echo Get account state
RESULT=$(../bin/near view $testaccount | strip-ansi)
RESULT=$(../bin/near state $testaccount | strip-ansi)
echo $RESULT
EXPECTED=".+Account $testaccount.+amount:.+'1000000000000000000'.+ "
if [[ ! "$RESULT" =~ $EXPECTED ]]; then
Expand Down
2 changes: 1 addition & 1 deletion test/test_contract.sh
@@ -1,7 +1,7 @@
#!/bin/bash
set -ex
rm -rf tmp-project
yarn create near-app --plain tmp-project
./bin/near new_project 'tmp-project'
cd tmp-project
rm -rf assembly
mkdir assembly
Expand Down

0 comments on commit 0bd921b

Please sign in to comment.