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

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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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.