Skip to content

Commit

Permalink
chore: minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed Nov 21, 2024
1 parent bed68af commit 9e0983b
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions test/equatable_utils_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,12 @@ void main() {
});

test(
'returns false for iterable with same elements but different order',
() {
final iterable1 = [1, 2, 3];
final iterable2 = [1, 3, 2];
expect(iterableEquals(iterable1, iterable2), isFalse);
},
);
'returns false for iterable with same elements '
'but different order', () {
final iterable1 = [1, 2, 3];
final iterable2 = [1, 3, 2];
expect(iterableEquals(iterable1, iterable2), isFalse);
});

test('returns true for nested identical iterables', () {
final iterable1 = [
Expand Down Expand Up @@ -86,14 +85,12 @@ void main() {
expect(setEquals(set1, set2), isTrue);
});

test(
'returns true for identical sets with elements in different order',
() {
final set1 = {1, 3, 2};
final set2 = {1, 2, 3};
expect(setEquals(set1, set2), isTrue);
},
);
test('returns true for identical sets with elements in different order',
() {
final set1 = {1, 3, 2};
final set2 = {1, 2, 3};
expect(setEquals(set1, set2), isTrue);
});

test('returns false for sets of different lengths', () {
final set1 = {1, 2, 3};
Expand Down

0 comments on commit 9e0983b

Please sign in to comment.