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

Commit

Permalink
Fix failing tests for near view
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Nov 5, 2019
1 parent d39af71 commit d4961f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const login = {
};

const viewAccount = {
command: 'state <accountId>',
command: 'view <accountId>',
desc: 'view account',
builder: (yargs) => yargs
.option('accountId', {
Expand Down
2 changes: 1 addition & 1 deletion test/test_account_operations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RESULT=$(../bin/near view $testaccount | strip-ansi)
echo $RESULT
EXPECTED=".+Account $testaccount.+amount:.+'1000000000000000000'.+ "
if [[ ! "$RESULT" =~ $EXPECTED ]]; then
echo FAILURE Unexpected output from near state
echo FAILURE Unexpected output from near view
exit 1
fi

Expand Down

0 comments on commit d4961f2

Please sign in to comment.