Skip to content

Commit

Permalink
Merge pull request #7 from TesteurManiak/fix/golden-tests
Browse files Browse the repository at this point in the history
feat: update alchemist dependency
  • Loading branch information
TesteurManiak authored Oct 31, 2024
2 parents 81f90b0 + b3edce9 commit dfb29f6
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 10 deletions.
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.0.2"
version: "2.1.0"
leak_tracker:
dependency: transitive
description:
Expand Down
19 changes: 14 additions & 5 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
5 changes: 4 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions test/borders_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ void main() {
),
],
),
decoration: IconDecoration(
border: IconBorder(),
),
decoration: IconDecoration(border: IconBorder()),
),
),
],
Expand Down
1 change: 1 addition & 0 deletions test/flutter_test_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Future<void> testExecutable(FutureOr<void> Function() testMain) async {
// ignore: avoid_redundant_argument_values
enabled: !isRunningInCi,
),
ciGoldensConfig: const CiGoldensConfig(tolerance: 0.01),
),
run: testMain,
);
Expand Down
Binary file modified test/goldens/ci/border_rendering.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/goldens/ci/gradient_rendering.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dfb29f6

Please sign in to comment.