diff --git a/test/odb_test.dart b/test/odb_test.dart index 63bf698..6609eb5 100644 --- a/test/odb_test.dart +++ b/test/odb_test.dart @@ -31,6 +31,7 @@ void main() { test('throws when trying to get odb and error occurs', () { Directory('${repo.workdir}.git/objects/').deleteSync(recursive: true); + expect(Directory('${repo.workdir}.git/objects/').existsSync(), false); expect( () => repo.odb, throwsA(isA()),