File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -398,11 +398,17 @@ let changes = []
398
398
@test pop! (changes) == (" " => FileWatching. FileEvent ())
399
399
if F_GETPATH
400
400
Sys. iswindows () && @test pop! (changes) == (F_PATH => FileWatching. FileEvent (FileWatching. UV_CHANGE))
401
- @test pop! (changes) == (F_PATH => FileWatching. FileEvent (FileWatching. UV_RENAME))
401
+ p = pop! (changes)
402
+ if ! Sys. isapple ()
403
+ @test p == (F_PATH => FileWatching. FileEvent (FileWatching. UV_RENAME))
404
+ end
402
405
while changes[end ][1 ] == F_PATH
403
406
@test pop! (changes)[2 ] == FileWatching. FileEvent (FileWatching. UV_RENAME)
404
407
end
405
- @test pop! (changes) == (F_PATH * " ~" => FileWatching. FileEvent (FileWatching. UV_RENAME))
408
+ p = pop! (changes)
409
+ if ! Sys. isapple ()
410
+ @test p == (F_PATH * " ~" => FileWatching. FileEvent (FileWatching. UV_RENAME))
411
+ end
406
412
while changes[end ][1 ] == F_PATH * " ~"
407
413
@test pop! (changes)[2 ] == FileWatching. FileEvent (FileWatching. UV_RENAME)
408
414
end
@@ -414,7 +420,10 @@ let changes = []
414
420
while changes[end - 1 ][1 ] == " $F_PATH$i "
415
421
@test let x = pop! (changes)[2 ]; x. changed ⊻ x. renamed; end
416
422
end
417
- @test pop! (changes) == (" $F_PATH$i " => FileWatching. FileEvent (FileWatching. UV_RENAME))
423
+ p = pop! (changes)
424
+ if ! Sys. isapple ()
425
+ @test p == (" $F_PATH$i " => FileWatching. FileEvent (FileWatching. UV_RENAME))
426
+ end
418
427
end
419
428
end
420
429
end
You can’t perform that action at this time.
0 commit comments