Skip to content

Add test for clearing cache in ChangedFilesDetector - #194

Closed
TomasVotruba wants to merge 1 commit into
mainfrom
test-clear-cache-335
Closed

TomasVotruba wants to merge 1 commit into
mainfrom
test-clear-cache-335

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Covers the clear-cache path reported in ecsphp/ecs#335.

ChangedFilesDetector::clearCache() removes cached file hashes: after clearing, a previously cached file is reported as changed again. The test confirms the clear mechanism works as expected.

Note: during a normal run the cache is repopulated as files are processed, so the cache directory is expected to contain entries again after the run finishes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant