assertMissing method

void assertMissing(
  1. Object paths
)

Asserts nothing exists at any of paths.

Implementation

void assertMissing(Object paths) {
  for (final String path in _paths(paths)) {
    final String normalized = normalizeDiskPath(path);
    expect(
      memory.fileExistsSync(normalized) ||
          (normalized.isNotEmpty && memory.directoryExistsSync(normalized)),
      isFalse,
      reason:
          'Found unexpected file or directory at path [$path] on disk [$name].',
    );
  }
}