diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-03-07 07:17:45 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-03-07 07:17:45 +0800 |
commit | af337dfae556cc3ac8739dc8337970147d74bb69 (patch) | |
tree | f8ed258e4bd26f879c1ca36112519a74e405f739 /test | |
parent | 9bd8c5f723abef25b8864457df7207eb361be8e3 (diff) | |
download | tangerine-wallet-browser-af337dfae556cc3ac8739dc8337970147d74bb69.tar tangerine-wallet-browser-af337dfae556cc3ac8739dc8337970147d74bb69.tar.gz tangerine-wallet-browser-af337dfae556cc3ac8739dc8337970147d74bb69.tar.bz2 tangerine-wallet-browser-af337dfae556cc3ac8739dc8337970147d74bb69.tar.lz tangerine-wallet-browser-af337dfae556cc3ac8739dc8337970147d74bb69.tar.xz tangerine-wallet-browser-af337dfae556cc3ac8739dc8337970147d74bb69.tar.zst tangerine-wallet-browser-af337dfae556cc3ac8739dc8337970147d74bb69.zip |
Fix function names
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/personal-message-manager-test.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/unit/personal-message-manager-test.js b/test/unit/personal-message-manager-test.js index 69d373ed3..5ee03726f 100644 --- a/test/unit/personal-message-manager-test.js +++ b/test/unit/personal-message-manager-test.js @@ -90,20 +90,20 @@ describe('Personal Message Manager', function() { describe('#normalizeMsgData', function() { it('converts text to a utf8 buffer', function() { var input = 'hello' - var output = messageManager.normalizeMsgdata(input) - assert.equal(output, '68656c6c6f', 'predictably hex encoded') + var output = messageManager.normalizeMsgData(input) + assert.equal(output, '0x68656c6c6f', 'predictably hex encoded') }) it('tolerates a hex prefix', function() { var input = '0x12' - var output = messageManager.normalizeMsgdata(input) - assert.equal(output, '12', 'prefix stripped') + var output = messageManager.normalizeMsgData(input) + assert.equal(output, '12', 'un modified') }) it('tolerates normal hex', function() { var input = '12' - var output = messageManager.normalizeMsgdata(input) - assert.equal(output, '12', 'not modified') + var output = messageManager.normalizeMsgData(input) + assert.equal(output, '12', 'adds prefix') }) }) |