anchor.diff:            fail("shoud fail");
           } on FileSystemException catch (e) {
             _printErr(e);
  -          if (isIo(ctx) && !isIoMac(ctx)) {
  +          if (isIo(ctx)) {
               expect(e.status, FileSystemException.statusInvalidArgument);
             } else {
               // mac, idb
  
positive.code:           } else {
              // [20] FileSystemException: Deletion failed, path = '/media/ssd/devx/hg/dart-pkg/lib/fs_shim/test_out/io/file/create_dir_or_file/dir_or_file' (OS Error: Not a directory, errno = 20)
              // [20] FileSystemException: Deletion failed, path = '/file/create_dir_or_file/dir_or_file' (OS Error: Not a directory, errno = 20)
              if (isIo(ctx) && !isIoMac(ctx)) {
                // linux/android
                expect(e.status, FileSystemException.statusInvalidArgument);
              } else {
  
negative.code:           fail("should fail");
          } on FileSystemException catch (e) {
            _printErr(e);
            if (isIo(ctx)) {
              // win, mac, linux
              expect(e.status, FileSystemException.statusInvalidArgument);
            } else {
              // idb
              expect(e.status, FileSystemException.statusIsADirectory);
            }
          }
  
  