Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
gtalha07 committed Nov 14, 2023
1 parent b97e5ce commit 770fbc2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: acter_avatar
description: Avatars as used by Acter.global
version: 1.0.0+1
version: 1.0.0+2
homepage: https://github.com/acterglobal/acter-avatar

environment:
Expand Down
4 changes: 0 additions & 4 deletions test/acter_avatar_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ void main() {
tester.getSize(find.byKey(TestKeys.circleAvatarKey));

// should expect specified fallback size
// diameter (size) is twice of radius size so we would expect x2 of specified size
expect(avatarSize.height, equals(36));
expect(avatarSize.width, equals(36));
});
Expand Down Expand Up @@ -94,7 +93,6 @@ void main() {
tester.getSize(find.byKey(TestKeys.rectangleAvatarKey));

// should expect specified fallback size
// diameter (size) is twice of radius size so we would expect x2 of specified size
expect(avatarSize.height, equals(36));
expect(avatarSize.width, equals(36));
});
Expand Down Expand Up @@ -227,14 +225,12 @@ void main() {
tester.getSize(find.byKey(TestKeys.stackedAvatarKey));

// should expect first avatar specified size
// diameter (size) is twice of radius size so we would expect x2 of specified size
expect(avatarSize.height, equals(24));
expect(avatarSize.width, equals(24));

final secondAvatarSize = tester.getSize(find.byType(Positioned));

// should expect second avatar specified size
// diameter (size) is twice of radius size so we would expect x2 of specified size
expect(secondAvatarSize.height, equals(24));
expect(secondAvatarSize.width, equals(24));
});
Expand Down

0 comments on commit 770fbc2

Please sign in to comment.