diff --git a/test/tree_test.dart b/test/tree_test.dart index e1f5598..ae9c79b 100644 --- a/test/tree_test.dart +++ b/test/tree_test.dart @@ -34,19 +34,10 @@ void main() { expect(tree, isA()); }); - test('returns number of entries', () { + test('returns correct values', () { expect(tree.entries.length, 4); - }); - - test('returns sha of tree entry', () { expect(tree.entries.first.id.sha, fileSHA); - }); - - test('returns name of tree entry', () { expect(tree.entries[0].name, '.gitignore'); - }); - - test('returns filemode of tree entry', () { expect(tree.entries[0].filemode, GitFilemode.blob); });