dart-lang / watcher

A file system watcher library for Dart.
https://pub.dev/packages/watcher
BSD 3-Clause "New" or "Revised" License
138 stars 35 forks source link

"notifies when a file is moved onto an existing one" test fails on Windows #125

Open DanTup opened 2 years ago

DanTup commented 2 years ago

I'm enabling tests for Windows that were previously not running. This test currently fails for reasons I don't understand so I'm marking it as skipped to get the rest running (https://github.com/dart-lang/watcher/pull/124).

00:05 +42 ~1 -1: test\directory_watcher\windows_test.dart: Shared Tests: moves notifies when a file is moved onto an existing one [E]
  Expected: should do the following in any order:
            * emit an event that is remove from.txt
            * emit an event that is modify to.txt
    Actual: <Instance of 'StreamQueue<WatchEvent>'>
     Which: emitted * remove C:\Users\runneradmin\AppData\Local\Temp\dart_test_34083e64\to.txt
                    * add C:\Users\runneradmin\AppData\Local\Temp\dart_test_34083e64\to.txt
                    * remove C:\Users\runneradmin\AppData\Local\Temp\dart_test_34083e64\from.txt

  test\directory_watcher\shared.dart 136:7  sharedTests.<fn>.<fn>