mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 04:05:52 +00:00
Fix typo in invalid MemoData error
This commit is contained in:
@@ -1050,7 +1050,7 @@ describe('Transaction', function() {
|
||||
|
||||
assert.throws(function() {
|
||||
transaction.addMemo(1);
|
||||
}, 'MemoType must be a string');
|
||||
}, /^Error: MemoType must be a string$/);
|
||||
});
|
||||
|
||||
it('Add Memo - invalid MemoData', function() {
|
||||
@@ -1059,7 +1059,7 @@ describe('Transaction', function() {
|
||||
|
||||
assert.throws(function() {
|
||||
transaction.addMemo('key', 1);
|
||||
}, 'MemoData must be a string');
|
||||
}, /^Error: MemoData must be a string$/);
|
||||
});
|
||||
|
||||
it('Construct AccountSet transaction', function() {
|
||||
|
||||
Reference in New Issue
Block a user