From 21e263622f797f3a984f33816e0a3b9f50b2ff88 Mon Sep 17 00:00:00 2001 From: Guillaume Roux Date: Thu, 31 Oct 2024 14:20:36 +0100 Subject: [PATCH 1/2] feat: update alchemist dependency --- example/pubspec.lock | 2 +- pubspec.lock | 19 ++++++++++++++----- pubspec.yaml | 5 ++++- test/goldens/ci/border_rendering.png | Bin 1000 -> 1270 bytes test/goldens/ci/gradient_rendering.png | Bin 1318 -> 1697 bytes 5 files changed, 19 insertions(+), 7 deletions(-) diff --git a/example/pubspec.lock b/example/pubspec.lock index 13ad720..80a6d3f 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -81,7 +81,7 @@ packages: path: ".." relative: true source: path - version: "2.0.2" + version: "2.1.0" leak_tracker: dependency: transitive description: diff --git a/pubspec.lock b/pubspec.lock index 895fb12..a169c63 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -12,11 +12,12 @@ packages: alchemist: dependency: "direct dev" description: - name: alchemist - sha256: "2fcd35d7422070cdf7f276bc04dd2d38c9164adb7d58bd00b7bebd8b6927d112" - url: "https://pub.dev" - source: hosted - version: "0.10.0" + path: "." + ref: ab1f2eb49584339be119eaec28a5562f6b325cbc + resolved-ref: ab1f2eb49584339be119eaec28a5562f6b325cbc + url: "https://github.com/Betterment/alchemist.git" + source: git + version: "0.7.0" analyzer: dependency: transitive description: @@ -392,6 +393,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.3.2" + universal_io: + dependency: transitive + description: + name: universal_io + sha256: "1722b2dcc462b4b2f3ee7d188dad008b6eb4c40bbd03a3de451d82c78bba9aad" + url: "https://pub.dev" + source: hosted + version: "2.2.2" uuid: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 27ad8a5..fcc45a7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -13,7 +13,10 @@ dependencies: sdk: flutter dev_dependencies: - alchemist: ^0.10.0 + alchemist: + git: + url: https://github.com/Betterment/alchemist.git + ref: ab1f2eb49584339be119eaec28a5562f6b325cbc fd_lints: ^2.3.0 flutter_test: sdk: flutter diff --git a/test/goldens/ci/border_rendering.png b/test/goldens/ci/border_rendering.png index 28d9ba1a685ddb91ccd3f5b38c67f20016218f69..38e53ba0a69e09155450c23c96d687df87af5e45 100644 GIT binary patch literal 1270 zcmeAS@N?(olHy`uVBq!ia0y~yV2T5>PjIjSNz2CfAAuBOage(c!@6@aFM%AEVkgfK z4j`!ENa+A_7kIijhE&XXd&kf#CXk`+qIsf%^^7zJ?W3Y8ta%4c<)$!)_}(9?Xmx|p`zJ1TGVF*7jyztg^xoq^$xev3GR zgG&V?g9|psp1|49mnVLHd-{$s!;R(-Obi_y`V0*n*cm$fwhw+i%9*9QM>D*mg&a*XFoF~jul48&Oc|%+7Mp!n3X|55E!U} z53w>L<*E)m_m^KDX|#EE``bIh2}R%arx*LrIP&vX**i{#$pr-T<1u>hOMyIp_HfxO z)dNq?UEf~p&+x!JZw~{5(jjgJ1tko|rq7n0XFmsTX1Q^?|9yOWqD*_@#u?RI4Exvg z`ThI#{qFmU-p4J)4JUuPG2ZK$`*5q3UG6l7-;p|Pi88f|8S*>s<4R5p4k_QQnNYV!DWfqC6Kx#f{e3?I(z{D?or%KYiO{`d4#6YsRLef#EC z6Qc!tqQsFS2Ag6~4y~!RJ}bn~P=2l#U&d!}c=DipPeUaz#-Gh&I56)H?kEKp9(7Ct XD=c@X$4!n0mR$^iOI>IuwK^`=qK=g&QnQvD*GbO(bjY zJ=HlHB3vROvx0qGo~$SpN~zrbd}q`8n|2tCBga6&+j!J(~yk-?~in_+@t3_}CYLnek44siwr=N$|T zl0+z}=J%WTKCQn&H7egc`Aym5FRw1X(PZd;_z15#8_kbJ9I20yn`1NIma%Try}V;v z+w+edJ)WNK|1rfC`fPyO3b@;9MocR}$tk%prYwLiWTeq)PR zV*U7=MfvMz7JI8qs<{p%RXoNU&_u>*&s9)TkxrO+?en||3GI+ZBxvXT;W2Qwui=>rtk($>e3KS>Cc(Ox?)p<`ANBX3Ws=i zEGTe%|0-jJp?>+No7X;X(O4e;RdMex?a171#|wexGCY`H8}$psXvkJx0is=+K(2C7 z!N)Owx#2!pMre?2nfI&l`t#kDdXYEMs$+h!JUH`4{6Ol)(+n}f`k>flP;z7i zk_tkj9MZyI(bp^dIopm`>M>dv|7I=hKF^yW?aS-u-xDQ{ zCq}HDX2;5~o9BS&uK$0YuK!d$yUkGY_E5237zlA}TS_E(Mhc~$P)IsM-A8RpFV%d|rW7%th5NXjU9 z%N9f+jvQs6lH=?*3t)kmp0*#71ZPz&B&GOUYj*qbjxU11z#~3uK;rg=`R(MgCzGa4 QtORNHboFyt=akR{04RcF+5i9m literal 1318 zcmeAS@N?(olHy`uVBq!ia0y~yU=abbXK=6q$q=PoIzWoCILO_JVcj{Imp~3nv6E*A z2N2Y7q;vqe7d%}YLn`LHy<^xF;wa&EvC4>}*Q!aOsjD%;ge~uI&9tX#X{^uQE%sFt zG7UI*K! Date: Thu, 31 Oct 2024 14:26:01 +0100 Subject: [PATCH 2/2] 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, );