Skip to content

Commit

Permalink
Renamed to ensuring an EOS exception happens.
Browse files Browse the repository at this point in the history
  • Loading branch information
thekevinbrown committed Apr 23, 2019
1 parent c3132e1 commit 447ace5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const assertEOSError = async (
assert.fail(`Expected ${description} but operation completed successfully.`);
};

export const assertEOSAssert = (operation: Promise<any>) =>
export const assertEOSException = (operation: Promise<any>) =>
assertEOSError(operation, 'eosio_assert_message_exception', 'assert');

export const assertMissingAuthority = (operation: Promise<any>) =>
Expand Down

0 comments on commit 447ace5

Please sign in to comment.