forked from dlang/cdcdb
Переход на другую библиотеку
This commit is contained in:
parent
1f50b21457
commit
0fc56e7c04
5 changed files with 180 additions and 148 deletions
14
test/app.d
14
test/app.d
|
|
@ -72,13 +72,13 @@ void main()
|
|||
}
|
||||
|
||||
// Удаление файла
|
||||
if (storage.deleteFile("example_file"))
|
||||
writeln("Файл example_file удален.");
|
||||
// if (storage.deleteFile("example_file"))
|
||||
// writeln("Файл example_file удален.");
|
||||
|
||||
// Проверка: снимки удалены
|
||||
auto remaining = storage.getSnapshots("example_file");
|
||||
assert(remaining.length == 0);
|
||||
writeln("Все снимки удалены.");
|
||||
// // Проверка: снимки удалены
|
||||
// auto remaining = storage.getSnapshots("example_file");
|
||||
// assert(remaining.length == 0);
|
||||
// writeln("Все снимки удалены.");
|
||||
|
||||
writeln("Версия библиотеки: ", storage.getVersion());
|
||||
// writeln("Версия библиотеки: ", storage.getVersion());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue