|
|
|
@ -91,7 +91,7 @@ describe('Personal Message Manager', function() { |
|
|
|
|
it('converts text to a utf8 hex string', function() { |
|
|
|
|
var input = 'hello' |
|
|
|
|
var output = messageManager.normalizeMsgData(input) |
|
|
|
|
assert.equal(output, '0x00680065006c006c006f', 'predictably hex encoded') |
|
|
|
|
assert.equal(output, '0x68656c6c6f', 'predictably hex encoded') |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
it('tolerates a hex prefix', function() { |
|
|
|
|