mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
style: clean up tests names
This commit is contained in:
parent
41fab98d17
commit
c516119397
33 changed files with 212 additions and 223 deletions
|
@ -25,13 +25,13 @@ void main() {
|
|||
|
||||
group('Oid', () {
|
||||
group('fromSHA()', () {
|
||||
test('successfully initializes', () {
|
||||
test('initializes from 40-char hex string', () {
|
||||
final oid = Oid.fromSHA(repo: repo, sha: sha);
|
||||
expect(oid, isA<Oid>());
|
||||
expect(oid.sha, sha);
|
||||
});
|
||||
|
||||
test('successfully initializes from short hex string', () {
|
||||
test('initializes from short hex string', () {
|
||||
final oid = Oid.fromSHA(repo: repo, sha: sha.substring(0, 5));
|
||||
|
||||
expect(oid, isA<Oid>());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue