Fixes actual/expected parameter ordering

This commit is contained in:
Daniel Cousens 2014-04-07 05:01:55 +10:00 committed by Daniel Cousens
parent 01e6be6d93
commit c93bad3be1
2 changed files with 5 additions and 5 deletions

View file

@ -9,7 +9,7 @@ describe('base58', function() {
evec = [ evec = [
'5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAbuatmU', // 0x00 WIF '5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAbuatmU', // 0x00 WIF
'5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf', // 0x01 WIF '5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf', // 0x01 WIF
'5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreQyNNN1W', // 0x7f WIF '5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreQyNNN1W', // 0x7f WIF
'1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm', // uncompressed 0x01 address '1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm', // uncompressed 0x01 address
'1FB8cZijTpRQp3HX8AEkNuQJBqApqfTcX7' // uncompressed 0x7f address '1FB8cZijTpRQp3HX8AEkNuQJBqApqfTcX7' // uncompressed 0x7f address
] ]
@ -32,7 +32,7 @@ describe('base58', function() {
var actual = base58.decode(x) var actual = base58.decode(x)
var expected = dvec[i] var expected = dvec[i]
assert.deepEqual(expected, actual) assert.deepEqual(actual, expected)
}) })
}) })
}) })
@ -43,7 +43,7 @@ describe('base58', function() {
var actual = base58.encode(x) var actual = base58.encode(x)
var expected = evec[i] var expected = evec[i]
assert.deepEqual(expected, actual) assert.deepEqual(actual, expected)
}) })
}) })
}) })

View file

@ -58,7 +58,7 @@ describe('base58check', function() {
var actual = base58check.decode(x) var actual = base58check.decode(x)
var expected = dvec[i] var expected = dvec[i]
assert.deepEqual(expected, actual) assert.deepEqual(actual, expected)
}) })
}) })
}) })
@ -69,7 +69,7 @@ describe('base58check', function() {
var actual = base58check.encode(x.payload, x.version) var actual = base58check.encode(x.payload, x.version)
var expected = evec[i] var expected = evec[i]
assert.deepEqual(expected, actual) assert.deepEqual(actual, expected)
}) })
}) })
}) })