Skip to content

Commit

Permalink
unified_analytics: fix new lint (#593)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Sep 28, 2024
1 parent 0b41bd2 commit 57aa604
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/unified_analytics/test/event_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import 'dart:mirrors';

import 'package:test/test.dart';

import 'package:unified_analytics/src/enums.dart';
import 'package:unified_analytics/unified_analytics.dart';

Expand Down Expand Up @@ -631,7 +630,9 @@ void main() {
for (final declaration in reflectClass(Event).declarations.keys) {
// Count public constructors but omit private constructors
if (declaration.toString().contains('Event.') &&
!declaration.toString().contains('Event._')) constructorCount++;
!declaration.toString().contains('Event._')) {
constructorCount++;
}
}

// Change this integer below if your PR either adds or removes
Expand Down

0 comments on commit 57aa604

Please sign in to comment.