style: clean up tests names

This commit is contained in:
Aleksey Kulikov 2021-12-23 15:29:28 +03:00
parent 41fab98d17
commit c516119397
33 changed files with 212 additions and 223 deletions

View file

@ -20,7 +20,7 @@ void main() {
signature.free();
});
group('Signature', () {
test('successfully creates with provided time and offset', () {
test('creates with provided time and offset', () {
expect(signature, isA<Signature>());
});
@ -40,7 +40,7 @@ void main() {
);
});
test('successfully creates without provided time and offset', () {
test('creates without provided time and offset', () {
final sig = Signature.create(name: 'Name', email: 'email@example.com');
expect(sig, isA<Signature>());
expect(sig.name, 'Name');