tests: закрыты три дыры в покрытии, найденные мутационным анализом

This commit is contained in:
2026-10-02 03:06:40 +03:00
parent dc8d9bc598
commit 2c7bca0d82
9 changed files with 183 additions and 19 deletions
@@ -34,6 +34,7 @@ class WatcherTest {
)
Thread.sleep(1500)
assertEquals(1, counter.get(), "ожидался ровно 1 вызов index, получено ${counter.get()}")
assertTrue(watcher.indexCalls >= 1, "встроенный счётчик indexCalls не растёт, получено ${watcher.indexCalls}")
} finally {
watcher.close()
tempDir.deleteRecursively()