fix util broken tests
This commit is contained in:
parent
88b85c02fd
commit
0477b75de4
|
@ -49,11 +49,11 @@ describe('util', function() {
|
||||||
});
|
});
|
||||||
describe('#intToBuffer', function() {
|
describe('#intToBuffer', function() {
|
||||||
var data = [
|
var data = [
|
||||||
[0, '00000000'],
|
[0, '00'],
|
||||||
[-0, '00000000'],
|
[-0, '00'],
|
||||||
[-1, 'ffffffff'],
|
[-1, 'ff'],
|
||||||
[1, '01000000'],
|
[1, '01'],
|
||||||
[18, '12000000'],
|
[18, '12'],
|
||||||
[878082192, '90785634'],
|
[878082192, '90785634'],
|
||||||
[0x01234567890, '1200000090785634'],
|
[0x01234567890, '1200000090785634'],
|
||||||
[-4294967297, 'feffffffffffffff'],
|
[-4294967297, 'feffffffffffffff'],
|
||||||
|
|
Loading…
Reference in New Issue