@@ -261,8 +261,7 @@ func TestAccountService(t *testing.T) {
261
261
262
262
// Ensure that the service was eventually disabled.
263
263
assertEventually (t , func () bool {
264
- isRunning := s .IsRunning ()
265
- return isRunning == false
264
+ return ! s .IsRunning ()
266
265
})
267
266
lnd .assertMainErrContains (t , ErrDBClosed .Error ())
268
267
},
@@ -294,8 +293,7 @@ func TestAccountService(t *testing.T) {
294
293
295
294
// Ensure that the service was eventually disabled.
296
295
assertEventually (t , func () bool {
297
- isRunning := s .IsRunning ()
298
- return isRunning == false
296
+ return ! s .IsRunning ()
299
297
})
300
298
301
299
lnd .assertMainErrContains (t , testErr .Error ())
@@ -440,8 +438,7 @@ func TestAccountService(t *testing.T) {
440
438
441
439
// Ensure that the service was eventually disabled.
442
440
assertEventually (t , func () bool {
443
- isRunning := s .IsRunning ()
444
- return isRunning == false
441
+ return ! s .IsRunning ()
445
442
})
446
443
lnd .assertMainErrContains (
447
444
t , "not mapped to any account" ,
@@ -483,8 +480,7 @@ func TestAccountService(t *testing.T) {
483
480
484
481
// Ensure that the service was eventually disabled.
485
482
assertEventually (t , func () bool {
486
- isRunning := s .IsRunning ()
487
- return isRunning == false
483
+ return ! s .IsRunning ()
488
484
})
489
485
490
486
lnd .assertMainErrContains (t , testErr .Error ())
0 commit comments