assertEmpty method

void assertEmpty()

Asserts the disk holds no files at all.

Implementation

void assertEmpty() {
  expect(
    memory.filesSync('', recursive: true),
    isEmpty,
    reason: 'Disk [$name] is not empty.',
  );
}