From 57aa6040bdb77d8299249baf6053b57cf09a2e2f Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Fri, 27 Sep 2024 17:24:34 -0700 Subject: [PATCH] unified_analytics: fix new lint (#593) --- pkgs/unified_analytics/test/event_test.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/unified_analytics/test/event_test.dart b/pkgs/unified_analytics/test/event_test.dart index ddfb4e73..a9538e88 100644 --- a/pkgs/unified_analytics/test/event_test.dart +++ b/pkgs/unified_analytics/test/event_test.dart @@ -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'; @@ -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