mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-07 11:26:41 +00:00
Fix broken test
This commit is contained in:
parent
03c6c72df6
commit
d284e92520
@ -85,4 +85,4 @@ describe 'Errors:', ->
|
||||
error.code = 'EACCES'
|
||||
checkProcessExitOption error, false, (processExitStub, logErrorStub) ->
|
||||
expect(logErrorStub).to.have.been.calledOnce
|
||||
expect(logErrorStub).to.have.been.calledWith('You don\'t have enough privileges to run this operation.')
|
||||
expect(logErrorStub.getCall(0).args[0]).to.match(/^You don\'t have enough privileges to run this operation./)
|
||||
|
Loading…
x
Reference in New Issue
Block a user