From b3edce9f5d273e0f9e93fc85c27eed976d6171f0 Mon Sep 17 00:00:00 2001 From: Guillaume Roux Date: Thu, 31 Oct 2024 14:26:01 +0100 Subject: [PATCH] feat: added tolerance --- test/borders_test.dart | 4 +--- test/flutter_test_config.dart | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/borders_test.dart b/test/borders_test.dart index 91e9e36..60f7ab0 100644 --- a/test/borders_test.dart +++ b/test/borders_test.dart @@ -40,9 +40,7 @@ void main() { ), ], ), - decoration: IconDecoration( - border: IconBorder(), - ), + decoration: IconDecoration(border: IconBorder()), ), ), ], diff --git a/test/flutter_test_config.dart b/test/flutter_test_config.dart index 008b76c..f441a4d 100644 --- a/test/flutter_test_config.dart +++ b/test/flutter_test_config.dart @@ -13,6 +13,7 @@ Future testExecutable(FutureOr Function() testMain) async { // ignore: avoid_redundant_argument_values enabled: !isRunningInCi, ), + ciGoldensConfig: const CiGoldensConfig(tolerance: 0.01), ), run: testMain, );