aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/personal-message-manager-test.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-03-07 09:36:08 +0800
committerDan Finlay <dan@danfinlay.com>2017-03-07 09:36:08 +0800
commit70e14b8a6f050d0304d81067893a32ccd391c404 (patch)
tree3eab23d99e9658e046aebbd670511161d4e3c396 /test/unit/personal-message-manager-test.js
parent32c767fbe8a8dc8854333318563d5def368cf85f (diff)
downloadtangerine-wallet-browser-70e14b8a6f050d0304d81067893a32ccd391c404.tar
tangerine-wallet-browser-70e14b8a6f050d0304d81067893a32ccd391c404.tar.gz
tangerine-wallet-browser-70e14b8a6f050d0304d81067893a32ccd391c404.tar.bz2
tangerine-wallet-browser-70e14b8a6f050d0304d81067893a32ccd391c404.tar.lz
tangerine-wallet-browser-70e14b8a6f050d0304d81067893a32ccd391c404.tar.xz
tangerine-wallet-browser-70e14b8a6f050d0304d81067893a32ccd391c404.tar.zst
tangerine-wallet-browser-70e14b8a6f050d0304d81067893a32ccd391c404.zip
Fixed internal encoding test case
Diffstat (limited to 'test/unit/personal-message-manager-test.js')
-rw-r--r--test/unit/personal-message-manager-test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/personal-message-manager-test.js b/test/unit/personal-message-manager-test.js
index 77e1656c5..20481af40 100644
--- a/test/unit/personal-message-manager-test.js
+++ b/test/unit/personal-message-manager-test.js
@@ -91,7 +91,7 @@ describe('Personal Message Manager', function() {
it('converts text to a utf8 buffer', function() {
var input = 'hello'
var output = messageManager.normalizeMsgData(input)
- assert.equal(output, '0x68656c6c6f', 'predictably hex encoded')
+ assert.equal(output, '0x00680065006c006c006f', 'predictably hex encoded')
})
it('tolerates a hex prefix', function() {