mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
spec: fix final node and chromium specs after assert change
This commit is contained in:
@@ -334,7 +334,7 @@ describe('node feature', () => {
|
||||
let iv = Buffer.from('0'.repeat(32), 'hex')
|
||||
let input = Buffer.from(data, 'base64')
|
||||
let decipher = crypto.createDecipheriv('aes-128-cbc', Buffer.from(key, 'base64'), iv)
|
||||
let result = Buffer.concat([decipher.update(input), decipher.final()])
|
||||
let result = Buffer.concat([decipher.update(input), decipher.final()]).toString('utf8')
|
||||
assert.strictEqual(cipherText, result)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user