Filter content hashes from golden files (#4210)
diff --git a/test/embedding/embedding_test.dart b/test/embedding/embedding_test.dart
index 36e5854..2a15ed1 100644
--- a/test/embedding/embedding_test.dart
+++ b/test/embedding/embedding_test.dart
@@ -494,6 +494,14 @@
r'Computed checksum $CRC32C for foo 1.0.0 with expected CRC32C of '
r'$CRC32C.',
)
+ .replaceAll(
+ RegExp(r'sha256: "?[0-9a-f]{64}"?', multiLine: true),
+ r'sha256: $SHA256',
+ )
+ .replaceAll(
+ RegExp(r'"archive_sha256":"[0-9a-f]{64}"', multiLine: true),
+ r'"archive_sha256":"$SHA256"',
+ )
/// TODO(sigurdm): This hack suppresses differences in stack-traces
/// between dart 2.17 and 2.18. Remove when 2.18 is stable.
diff --git a/test/test_pub.dart b/test/test_pub.dart
index 41649e9..380c666 100644
--- a/test/test_pub.dart
+++ b/test/test_pub.dart
@@ -936,8 +936,12 @@
// Any paths in output should be relative to the sandbox and with forward
// slashes to be stable across platforms.
input = input.replaceAll(d.sandbox, r'$SANDBOX');
- input =
- input.replaceAllMapped(RegExp(r'\\(\S|\.)'), (match) => '/${match[1]}');
+ input = input
+ .replaceAllMapped(RegExp(r'\\(\S|\.)'), (match) => '/${match[1]}')
+ .replaceAll(
+ RegExp(r'sha256: "?[0-9a-f]{64}"?', multiLine: true),
+ r'sha256: $SHA256',
+ );
var port = _globalServer?.port;
if (port != null) {
input = input.replaceAll(port.toString(), '\$PORT');
diff --git a/test/testdata/goldens/dependency_services/dependency_services_test/Adding transitive.txt b/test/testdata/goldens/dependency_services/dependency_services_test/Adding transitive.txt
index e0533ae..f2f3493 100644
--- a/test/testdata/goldens/dependency_services/dependency_services_test/Adding transitive.txt
+++ b/test/testdata/goldens/dependency_services/dependency_services_test/Adding transitive.txt
@@ -10,7 +10,7 @@
dependency: "direct main"
description:
name: foo
- sha256: "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.2.3"
@@ -32,7 +32,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ "sha256": "b2b7fc405959806aa1f31ac7e68752534f66f66a11a280d9878ecb6cd835f01c"
}
}
}
@@ -54,7 +54,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ "sha256": "b2b7fc405959806aa1f31ac7e68752534f66f66a11a280d9878ecb6cd835f01c"
}
},
"latest": "2.2.3",
@@ -70,7 +70,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "ac18fe8b90da258e8aaba1334745de249d93ebc2adee76e37922096dabc6fa7f"
+ "sha256": "a7e0832c069301a6e6ba78d792a08156fbf5bbfc04e766393ad7c98e7a27f648"
}
},
"constraintBumped": "^2.2.3",
@@ -83,7 +83,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ "sha256": "b2b7fc405959806aa1f31ac7e68752534f66f66a11a280d9878ecb6cd835f01c"
}
}
},
@@ -96,7 +96,7 @@
"description": {
"name": "transitive",
"url": "http://localhost:$PORT",
- "sha256": "bbf701e5d89787675cdbf7d818561d8cd8524a0fb49d79133a887418120ecaab"
+ "sha256": "d705923b5a6b4c7053e6d86a35799ede6467245151ff15dfdd5719986a61d49c"
}
},
"constraintBumped": null,
@@ -117,7 +117,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "ac18fe8b90da258e8aaba1334745de249d93ebc2adee76e37922096dabc6fa7f"
+ "sha256": "a7e0832c069301a6e6ba78d792a08156fbf5bbfc04e766393ad7c98e7a27f648"
}
},
"constraintBumped": "^2.2.3",
@@ -130,7 +130,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ "sha256": "b2b7fc405959806aa1f31ac7e68752534f66f66a11a280d9878ecb6cd835f01c"
}
}
},
@@ -143,7 +143,7 @@
"description": {
"name": "transitive",
"url": "http://localhost:$PORT",
- "sha256": "bbf701e5d89787675cdbf7d818561d8cd8524a0fb49d79133a887418120ecaab"
+ "sha256": "d705923b5a6b4c7053e6d86a35799ede6467245151ff15dfdd5719986a61d49c"
}
},
"constraintBumped": null,
@@ -176,7 +176,7 @@
dependency: "direct main"
description:
name: foo
- sha256: ac18fe8b90da258e8aaba1334745de249d93ebc2adee76e37922096dabc6fa7f
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "2.2.3"
@@ -184,7 +184,7 @@
dependency: transitive
description:
name: transitive
- sha256: bbf701e5d89787675cdbf7d818561d8cd8524a0fb49d79133a887418120ecaab
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.0.0"
diff --git a/test/testdata/goldens/dependency_services/dependency_services_test/Compatible.txt b/test/testdata/goldens/dependency_services/dependency_services_test/Compatible.txt
index c4e816c..c2103f3 100644
--- a/test/testdata/goldens/dependency_services/dependency_services_test/Compatible.txt
+++ b/test/testdata/goldens/dependency_services/dependency_services_test/Compatible.txt
@@ -10,7 +10,7 @@
dependency: "direct main"
description:
name: bar
- sha256: "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.2.3"
@@ -18,7 +18,7 @@
dependency: "direct main"
description:
name: boo
- sha256: "2dcaf9c9913755c735f929592ea582bdef50c544c84eeacba9bcecd08f583ab4"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.2.3"
@@ -26,7 +26,7 @@
dependency: "direct main"
description:
name: foo
- sha256: "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.2.3"
@@ -48,7 +48,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ "sha256": "0b119406be305b6e65d33551008b5b72fdd810965f0df914478c940d5fe28e53"
}
}
},
@@ -62,7 +62,7 @@
"description": {
"name": "boo",
"url": "http://localhost:$PORT",
- "sha256": "2dcaf9c9913755c735f929592ea582bdef50c544c84eeacba9bcecd08f583ab4"
+ "sha256": "84c17af86124252176a4dae6f94ebcaf6d6f406cb8dc180b664cf0c4811ce50b"
}
}
},
@@ -76,7 +76,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ "sha256": "b2b7fc405959806aa1f31ac7e68752534f66f66a11a280d9878ecb6cd835f01c"
}
}
}
@@ -98,7 +98,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ "sha256": "0b119406be305b6e65d33551008b5b72fdd810965f0df914478c940d5fe28e53"
}
},
"latest": "2.2.3",
@@ -114,7 +114,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "7f5edf6d86145cb08b8c137151a8d59c9973d2a45a46921e2edb61db125e54f4"
+ "sha256": "18169c0899ff5f0551a80839dc1618e597a6ee4508a5065f9318dd2a2fda6455"
}
},
"constraintBumped": "^2.2.3",
@@ -127,7 +127,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ "sha256": "0b119406be305b6e65d33551008b5b72fdd810965f0df914478c940d5fe28e53"
}
}
}
@@ -142,7 +142,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "7f5edf6d86145cb08b8c137151a8d59c9973d2a45a46921e2edb61db125e54f4"
+ "sha256": "18169c0899ff5f0551a80839dc1618e597a6ee4508a5065f9318dd2a2fda6455"
}
},
"constraintBumped": "^2.2.3",
@@ -155,7 +155,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ "sha256": "0b119406be305b6e65d33551008b5b72fdd810965f0df914478c940d5fe28e53"
}
}
}
@@ -170,7 +170,7 @@
"description": {
"name": "boo",
"url": "http://localhost:$PORT",
- "sha256": "2dcaf9c9913755c735f929592ea582bdef50c544c84eeacba9bcecd08f583ab4"
+ "sha256": "84c17af86124252176a4dae6f94ebcaf6d6f406cb8dc180b664cf0c4811ce50b"
}
},
"latest": "1.2.4",
@@ -185,7 +185,7 @@
"description": {
"name": "boo",
"url": "http://localhost:$PORT",
- "sha256": "32cfaf6e71b23797af1005b575a2279216b171987093748ff5ca8282fbc991fd"
+ "sha256": "ef7c87de426b725ed9eae829ce700a2335def6c0154fff04236f8bb5490e1422"
}
},
"constraintBumped": "^1.0.0",
@@ -198,7 +198,7 @@
"description": {
"name": "boo",
"url": "http://localhost:$PORT",
- "sha256": "2dcaf9c9913755c735f929592ea582bdef50c544c84eeacba9bcecd08f583ab4"
+ "sha256": "84c17af86124252176a4dae6f94ebcaf6d6f406cb8dc180b664cf0c4811ce50b"
}
}
}
@@ -213,7 +213,7 @@
"description": {
"name": "boo",
"url": "http://localhost:$PORT",
- "sha256": "32cfaf6e71b23797af1005b575a2279216b171987093748ff5ca8282fbc991fd"
+ "sha256": "ef7c87de426b725ed9eae829ce700a2335def6c0154fff04236f8bb5490e1422"
}
},
"constraintBumped": "^1.2.4",
@@ -226,7 +226,7 @@
"description": {
"name": "boo",
"url": "http://localhost:$PORT",
- "sha256": "2dcaf9c9913755c735f929592ea582bdef50c544c84eeacba9bcecd08f583ab4"
+ "sha256": "84c17af86124252176a4dae6f94ebcaf6d6f406cb8dc180b664cf0c4811ce50b"
}
}
}
@@ -241,7 +241,7 @@
"description": {
"name": "boo",
"url": "http://localhost:$PORT",
- "sha256": "32cfaf6e71b23797af1005b575a2279216b171987093748ff5ca8282fbc991fd"
+ "sha256": "ef7c87de426b725ed9eae829ce700a2335def6c0154fff04236f8bb5490e1422"
}
},
"constraintBumped": "^1.2.4",
@@ -254,7 +254,7 @@
"description": {
"name": "boo",
"url": "http://localhost:$PORT",
- "sha256": "2dcaf9c9913755c735f929592ea582bdef50c544c84eeacba9bcecd08f583ab4"
+ "sha256": "84c17af86124252176a4dae6f94ebcaf6d6f406cb8dc180b664cf0c4811ce50b"
}
}
}
@@ -269,7 +269,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ "sha256": "b2b7fc405959806aa1f31ac7e68752534f66f66a11a280d9878ecb6cd835f01c"
}
},
"latest": "2.2.3",
@@ -284,7 +284,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "98405f2be818d57d0c01a1252e6bc50c1db9bb69b90557909740083019f214cd"
+ "sha256": "0362935f659b1fd166b6036575bffd6e735cd9953eb60324192d1fdd4929b4c1"
}
},
"constraintBumped": "^1.0.0",
@@ -297,7 +297,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ "sha256": "b2b7fc405959806aa1f31ac7e68752534f66f66a11a280d9878ecb6cd835f01c"
}
}
}
@@ -312,7 +312,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "161f5087dae6dc41086fcac53e2db376488e5fa446f81b4352512917e20ccb0a"
+ "sha256": "893214328b7741cecc09046d6309aa894b4645099dd05d7f8e1a1dfa2799a6df"
}
},
"constraintBumped": "^2.2.3",
@@ -325,7 +325,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ "sha256": "b2b7fc405959806aa1f31ac7e68752534f66f66a11a280d9878ecb6cd835f01c"
}
}
}
@@ -340,7 +340,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "161f5087dae6dc41086fcac53e2db376488e5fa446f81b4352512917e20ccb0a"
+ "sha256": "893214328b7741cecc09046d6309aa894b4645099dd05d7f8e1a1dfa2799a6df"
}
},
"constraintBumped": "^2.2.3",
@@ -353,7 +353,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ "sha256": "b2b7fc405959806aa1f31ac7e68752534f66f66a11a280d9878ecb6cd835f01c"
}
}
}
@@ -380,7 +380,7 @@
dependency: "direct main"
description:
name: bar
- sha256: "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.2.3"
@@ -388,7 +388,7 @@
dependency: "direct main"
description:
name: boo
- sha256: "2dcaf9c9913755c735f929592ea582bdef50c544c84eeacba9bcecd08f583ab4"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.2.3"
@@ -396,7 +396,7 @@
dependency: "direct main"
description:
name: foo
- sha256: "98405f2be818d57d0c01a1252e6bc50c1db9bb69b90557909740083019f214cd"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.2.4"
diff --git a/test/testdata/goldens/dependency_services/dependency_services_test/Finds smallest possible upgrade.txt b/test/testdata/goldens/dependency_services/dependency_services_test/Finds smallest possible upgrade.txt
index 7fcfaf4..a0ebdc7 100644
--- a/test/testdata/goldens/dependency_services/dependency_services_test/Finds smallest possible upgrade.txt
+++ b/test/testdata/goldens/dependency_services/dependency_services_test/Finds smallest possible upgrade.txt
@@ -10,7 +10,7 @@
dependency: "direct main"
description:
name: foo
- sha256: ee9afb23699244da9e40f5001a3600e529c3696f2b8696906fd43ea8e54e0457
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.1.1"
@@ -31,7 +31,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "ee9afb23699244da9e40f5001a3600e529c3696f2b8696906fd43ea8e54e0457"
+ "sha256": "effaacd54b31939dc8a71e3ccc6b14fa70f544a23a91d8b11eeba869d09cc789"
}
},
"latest": "1.1.4",
@@ -46,7 +46,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4e29148fe4f00dc3e48082c074a538bc10030ed519622ee350815d5b2fd96a6d"
+ "sha256": "5c90f73bc6f153b0c6ab43579dea6dea0ab9aa9ff0244f780936e47303a7768c"
}
},
"constraintBumped": "^1.0.0",
@@ -59,7 +59,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "ee9afb23699244da9e40f5001a3600e529c3696f2b8696906fd43ea8e54e0457"
+ "sha256": "effaacd54b31939dc8a71e3ccc6b14fa70f544a23a91d8b11eeba869d09cc789"
}
}
}
@@ -74,7 +74,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4e29148fe4f00dc3e48082c074a538bc10030ed519622ee350815d5b2fd96a6d"
+ "sha256": "5c90f73bc6f153b0c6ab43579dea6dea0ab9aa9ff0244f780936e47303a7768c"
}
},
"constraintBumped": "^1.1.4",
@@ -87,7 +87,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "ee9afb23699244da9e40f5001a3600e529c3696f2b8696906fd43ea8e54e0457"
+ "sha256": "effaacd54b31939dc8a71e3ccc6b14fa70f544a23a91d8b11eeba869d09cc789"
}
}
}
@@ -102,7 +102,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4e29148fe4f00dc3e48082c074a538bc10030ed519622ee350815d5b2fd96a6d"
+ "sha256": "5c90f73bc6f153b0c6ab43579dea6dea0ab9aa9ff0244f780936e47303a7768c"
}
},
"constraintBumped": "^1.1.4",
@@ -115,7 +115,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "ee9afb23699244da9e40f5001a3600e529c3696f2b8696906fd43ea8e54e0457"
+ "sha256": "effaacd54b31939dc8a71e3ccc6b14fa70f544a23a91d8b11eeba869d09cc789"
}
}
}
@@ -130,7 +130,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "5efda06be6bc23558d40eeab6f92729c53e5018621e7bda9868d97dd613693b9"
+ "sha256": "9ee54a074bcfbbb539b0458bd1c7e636bbccd85c4b202b9fce0a931ed63c472a"
}
},
"constraintBumped": "^1.1.3",
@@ -143,7 +143,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "ee9afb23699244da9e40f5001a3600e529c3696f2b8696906fd43ea8e54e0457"
+ "sha256": "effaacd54b31939dc8a71e3ccc6b14fa70f544a23a91d8b11eeba869d09cc789"
}
}
}
@@ -164,7 +164,7 @@
dependency: "direct main"
description:
name: foo
- sha256: ee9afb23699244da9e40f5001a3600e529c3696f2b8696906fd43ea8e54e0457
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.1.1"
diff --git a/test/testdata/goldens/dependency_services/dependency_services_test/Ignoring version.txt b/test/testdata/goldens/dependency_services/dependency_services_test/Ignoring version.txt
index 1636fda..b8a6a3a 100644
--- a/test/testdata/goldens/dependency_services/dependency_services_test/Ignoring version.txt
+++ b/test/testdata/goldens/dependency_services/dependency_services_test/Ignoring version.txt
@@ -10,7 +10,7 @@
dependency: "direct main"
description:
name: foo
- sha256: "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.0.0"
@@ -31,7 +31,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ "sha256": "c35f6caa60870d3b6c5c6aebe5a5d4b56ca4733a52a80ded3445c0c5fa4b62df"
}
},
"latest": "1.0.3",
@@ -46,7 +46,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "7e5c9a856d9aaa086b9724210ae9017edd53d704d630fe0cae743abc5074a997"
+ "sha256": "2d3e97e5c2da80e2814780d28feca697e7940417b13860f44772c6084cb9fd8f"
}
},
"constraintBumped": "^1.0.0",
@@ -59,7 +59,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ "sha256": "c35f6caa60870d3b6c5c6aebe5a5d4b56ca4733a52a80ded3445c0c5fa4b62df"
}
}
}
@@ -75,7 +75,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "7e5c9a856d9aaa086b9724210ae9017edd53d704d630fe0cae743abc5074a997"
+ "sha256": "2d3e97e5c2da80e2814780d28feca697e7940417b13860f44772c6084cb9fd8f"
}
},
"constraintBumped": "^1.0.1",
@@ -88,7 +88,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ "sha256": "c35f6caa60870d3b6c5c6aebe5a5d4b56ca4733a52a80ded3445c0c5fa4b62df"
}
}
}
@@ -109,7 +109,7 @@
dependency: "direct main"
description:
name: foo
- sha256: "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.0.0"
diff --git a/test/testdata/goldens/dependency_services/dependency_services_test/No pubspec.lock.txt b/test/testdata/goldens/dependency_services/dependency_services_test/No pubspec.lock.txt
index 0d46baa..168b486 100644
--- a/test/testdata/goldens/dependency_services/dependency_services_test/No pubspec.lock.txt
+++ b/test/testdata/goldens/dependency_services/dependency_services_test/No pubspec.lock.txt
@@ -35,7 +35,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "e963d896bb117842c18b0c7ed19c31b84c414acf5845b853acc89994339b613a"
+ "sha256": "0498214b0972f23e519cb7fb546d1eaaae2342152d952b7750e749f3f119fff6"
}
}
},
@@ -49,7 +49,7 @@
"description": {
"name": "transitive",
"url": "http://localhost:$PORT",
- "sha256": "bbf701e5d89787675cdbf7d818561d8cd8524a0fb49d79133a887418120ecaab"
+ "sha256": "d705923b5a6b4c7053e6d86a35799ede6467245151ff15dfdd5719986a61d49c"
}
}
}
@@ -89,7 +89,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "161f5087dae6dc41086fcac53e2db376488e5fa446f81b4352512917e20ccb0a"
+ "sha256": "893214328b7741cecc09046d6309aa894b4645099dd05d7f8e1a1dfa2799a6df"
}
},
"constraintBumped": "^2.2.3",
@@ -102,7 +102,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "e963d896bb117842c18b0c7ed19c31b84c414acf5845b853acc89994339b613a"
+ "sha256": "0498214b0972f23e519cb7fb546d1eaaae2342152d952b7750e749f3f119fff6"
}
}
}
@@ -117,7 +117,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "e963d896bb117842c18b0c7ed19c31b84c414acf5845b853acc89994339b613a"
+ "sha256": "0498214b0972f23e519cb7fb546d1eaaae2342152d952b7750e749f3f119fff6"
}
},
"latest": "2.2.3",
@@ -133,7 +133,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "161f5087dae6dc41086fcac53e2db376488e5fa446f81b4352512917e20ccb0a"
+ "sha256": "893214328b7741cecc09046d6309aa894b4645099dd05d7f8e1a1dfa2799a6df"
}
},
"constraintBumped": "^2.2.3",
@@ -146,7 +146,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "e963d896bb117842c18b0c7ed19c31b84c414acf5845b853acc89994339b613a"
+ "sha256": "0498214b0972f23e519cb7fb546d1eaaae2342152d952b7750e749f3f119fff6"
}
}
}
@@ -161,7 +161,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "161f5087dae6dc41086fcac53e2db376488e5fa446f81b4352512917e20ccb0a"
+ "sha256": "893214328b7741cecc09046d6309aa894b4645099dd05d7f8e1a1dfa2799a6df"
}
},
"constraintBumped": "^2.2.3",
@@ -174,7 +174,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "e963d896bb117842c18b0c7ed19c31b84c414acf5845b853acc89994339b613a"
+ "sha256": "0498214b0972f23e519cb7fb546d1eaaae2342152d952b7750e749f3f119fff6"
}
}
}
@@ -189,7 +189,7 @@
"description": {
"name": "transitive",
"url": "http://localhost:$PORT",
- "sha256": "bbf701e5d89787675cdbf7d818561d8cd8524a0fb49d79133a887418120ecaab"
+ "sha256": "d705923b5a6b4c7053e6d86a35799ede6467245151ff15dfdd5719986a61d49c"
}
},
"latest": "1.0.0",
diff --git a/test/testdata/goldens/dependency_services/dependency_services_test/Preserves no content-hashes.txt b/test/testdata/goldens/dependency_services/dependency_services_test/Preserves no content-hashes.txt
index 61c69a2..9a9a21c 100644
--- a/test/testdata/goldens/dependency_services/dependency_services_test/Preserves no content-hashes.txt
+++ b/test/testdata/goldens/dependency_services/dependency_services_test/Preserves no content-hashes.txt
@@ -107,7 +107,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "7f5edf6d86145cb08b8c137151a8d59c9973d2a45a46921e2edb61db125e54f4"
+ "sha256": "18169c0899ff5f0551a80839dc1618e597a6ee4508a5065f9318dd2a2fda6455"
}
},
"constraintBumped": "^2.2.3",
@@ -134,7 +134,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "7f5edf6d86145cb08b8c137151a8d59c9973d2a45a46921e2edb61db125e54f4"
+ "sha256": "18169c0899ff5f0551a80839dc1618e597a6ee4508a5065f9318dd2a2fda6455"
}
},
"constraintBumped": "^2.2.3",
@@ -175,7 +175,7 @@
"description": {
"name": "boo",
"url": "http://localhost:$PORT",
- "sha256": "32cfaf6e71b23797af1005b575a2279216b171987093748ff5ca8282fbc991fd"
+ "sha256": "ef7c87de426b725ed9eae829ce700a2335def6c0154fff04236f8bb5490e1422"
}
},
"constraintBumped": "^1.0.0",
@@ -202,7 +202,7 @@
"description": {
"name": "boo",
"url": "http://localhost:$PORT",
- "sha256": "32cfaf6e71b23797af1005b575a2279216b171987093748ff5ca8282fbc991fd"
+ "sha256": "ef7c87de426b725ed9eae829ce700a2335def6c0154fff04236f8bb5490e1422"
}
},
"constraintBumped": "^1.2.4",
@@ -229,7 +229,7 @@
"description": {
"name": "boo",
"url": "http://localhost:$PORT",
- "sha256": "32cfaf6e71b23797af1005b575a2279216b171987093748ff5ca8282fbc991fd"
+ "sha256": "ef7c87de426b725ed9eae829ce700a2335def6c0154fff04236f8bb5490e1422"
}
},
"constraintBumped": "^1.2.4",
@@ -270,7 +270,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "98405f2be818d57d0c01a1252e6bc50c1db9bb69b90557909740083019f214cd"
+ "sha256": "0362935f659b1fd166b6036575bffd6e735cd9953eb60324192d1fdd4929b4c1"
}
},
"constraintBumped": "^1.0.0",
@@ -297,7 +297,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "161f5087dae6dc41086fcac53e2db376488e5fa446f81b4352512917e20ccb0a"
+ "sha256": "893214328b7741cecc09046d6309aa894b4645099dd05d7f8e1a1dfa2799a6df"
}
},
"constraintBumped": "^2.2.3",
@@ -324,7 +324,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "161f5087dae6dc41086fcac53e2db376488e5fa446f81b4352512917e20ccb0a"
+ "sha256": "893214328b7741cecc09046d6309aa894b4645099dd05d7f8e1a1dfa2799a6df"
}
},
"constraintBumped": "^2.2.3",
diff --git a/test/testdata/goldens/dependency_services/dependency_services_test/Preserves pub.dartlang.org as hosted url.txt b/test/testdata/goldens/dependency_services/dependency_services_test/Preserves pub.dartlang.org as hosted url.txt
index 2483450..fe5e2ca 100644
--- a/test/testdata/goldens/dependency_services/dependency_services_test/Preserves pub.dartlang.org as hosted url.txt
+++ b/test/testdata/goldens/dependency_services/dependency_services_test/Preserves pub.dartlang.org as hosted url.txt
@@ -10,7 +10,7 @@
dependency: "direct main"
description:
name: bar
- sha256: "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ sha256: $SHA256
url: https://pub.dartlang.org
source: hosted
version: "1.2.3"
@@ -18,7 +18,7 @@
dependency: "direct main"
description:
name: foo
- sha256: "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ sha256: $SHA256
url: https://pub.dartlang.org
source: hosted
version: "1.2.3"
@@ -40,7 +40,7 @@
"description": {
"name": "bar",
"url": "https://pub.dev",
- "sha256": "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ "sha256": "0b119406be305b6e65d33551008b5b72fdd810965f0df914478c940d5fe28e53"
}
}
},
@@ -54,7 +54,7 @@
"description": {
"name": "foo",
"url": "https://pub.dev",
- "sha256": "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ "sha256": "b2b7fc405959806aa1f31ac7e68752534f66f66a11a280d9878ecb6cd835f01c"
}
}
}
@@ -76,7 +76,7 @@
"description": {
"name": "bar",
"url": "https://pub.dev",
- "sha256": "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ "sha256": "0b119406be305b6e65d33551008b5b72fdd810965f0df914478c940d5fe28e53"
}
},
"latest": null,
@@ -91,7 +91,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ "sha256": "0b119406be305b6e65d33551008b5b72fdd810965f0df914478c940d5fe28e53"
}
},
"constraintBumped": "^1.0.0",
@@ -104,7 +104,7 @@
"description": {
"name": "bar",
"url": "https://pub.dev",
- "sha256": "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ "sha256": "0b119406be305b6e65d33551008b5b72fdd810965f0df914478c940d5fe28e53"
}
}
},
@@ -117,7 +117,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "98405f2be818d57d0c01a1252e6bc50c1db9bb69b90557909740083019f214cd"
+ "sha256": "0362935f659b1fd166b6036575bffd6e735cd9953eb60324192d1fdd4929b4c1"
}
},
"constraintBumped": "^1.0.0",
@@ -130,7 +130,7 @@
"description": {
"name": "foo",
"url": "https://pub.dev",
- "sha256": "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ "sha256": "b2b7fc405959806aa1f31ac7e68752534f66f66a11a280d9878ecb6cd835f01c"
}
}
}
@@ -146,7 +146,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ "sha256": "0b119406be305b6e65d33551008b5b72fdd810965f0df914478c940d5fe28e53"
}
},
"constraintBumped": "^1.2.3",
@@ -159,7 +159,7 @@
"description": {
"name": "bar",
"url": "https://pub.dev",
- "sha256": "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ "sha256": "0b119406be305b6e65d33551008b5b72fdd810965f0df914478c940d5fe28e53"
}
}
},
@@ -172,7 +172,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "98405f2be818d57d0c01a1252e6bc50c1db9bb69b90557909740083019f214cd"
+ "sha256": "0362935f659b1fd166b6036575bffd6e735cd9953eb60324192d1fdd4929b4c1"
}
},
"constraintBumped": "^1.2.4",
@@ -185,7 +185,7 @@
"description": {
"name": "foo",
"url": "https://pub.dev",
- "sha256": "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ "sha256": "b2b7fc405959806aa1f31ac7e68752534f66f66a11a280d9878ecb6cd835f01c"
}
}
}
@@ -200,7 +200,7 @@
"description": {
"name": "foo",
"url": "https://pub.dev",
- "sha256": "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ "sha256": "b2b7fc405959806aa1f31ac7e68752534f66f66a11a280d9878ecb6cd835f01c"
}
},
"latest": "0.0.1",
@@ -215,7 +215,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ "sha256": "0b119406be305b6e65d33551008b5b72fdd810965f0df914478c940d5fe28e53"
}
},
"constraintBumped": "^1.0.0",
@@ -228,7 +228,7 @@
"description": {
"name": "bar",
"url": "https://pub.dev",
- "sha256": "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ "sha256": "0b119406be305b6e65d33551008b5b72fdd810965f0df914478c940d5fe28e53"
}
}
},
@@ -241,7 +241,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "98405f2be818d57d0c01a1252e6bc50c1db9bb69b90557909740083019f214cd"
+ "sha256": "0362935f659b1fd166b6036575bffd6e735cd9953eb60324192d1fdd4929b4c1"
}
},
"constraintBumped": "^1.0.0",
@@ -254,7 +254,7 @@
"description": {
"name": "foo",
"url": "https://pub.dev",
- "sha256": "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ "sha256": "b2b7fc405959806aa1f31ac7e68752534f66f66a11a280d9878ecb6cd835f01c"
}
}
}
@@ -270,7 +270,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ "sha256": "0b119406be305b6e65d33551008b5b72fdd810965f0df914478c940d5fe28e53"
}
},
"constraintBumped": "^1.2.3",
@@ -283,7 +283,7 @@
"description": {
"name": "bar",
"url": "https://pub.dev",
- "sha256": "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ "sha256": "0b119406be305b6e65d33551008b5b72fdd810965f0df914478c940d5fe28e53"
}
}
},
@@ -296,7 +296,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "98405f2be818d57d0c01a1252e6bc50c1db9bb69b90557909740083019f214cd"
+ "sha256": "0362935f659b1fd166b6036575bffd6e735cd9953eb60324192d1fdd4929b4c1"
}
},
"constraintBumped": "^1.2.4",
@@ -309,7 +309,7 @@
"description": {
"name": "foo",
"url": "https://pub.dev",
- "sha256": "0a2eec28c63c8ee616670da9bae0dbfe9294f5b04b264cc4a9be24876ea23d3b"
+ "sha256": "b2b7fc405959806aa1f31ac7e68752534f66f66a11a280d9878ecb6cd835f01c"
}
}
}
@@ -336,7 +336,7 @@
dependency: "direct main"
description:
name: bar
- sha256: "0a2afc2a042366f06a89e07dfe845d3c77c07534fe489d5c4d8e8a8bdcbf0c22"
+ sha256: $SHA256
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.3"
@@ -344,7 +344,7 @@
dependency: "direct main"
description:
name: foo
- sha256: "98405f2be818d57d0c01a1252e6bc50c1db9bb69b90557909740083019f214cd"
+ sha256: $SHA256
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.4"
diff --git a/test/testdata/goldens/dependency_services/dependency_services_test/Relative paths are allowed.txt b/test/testdata/goldens/dependency_services/dependency_services_test/Relative paths are allowed.txt
index 7560bdd..2537b11 100644
--- a/test/testdata/goldens/dependency_services/dependency_services_test/Relative paths are allowed.txt
+++ b/test/testdata/goldens/dependency_services/dependency_services_test/Relative paths are allowed.txt
@@ -17,7 +17,7 @@
dependency: "direct main"
description:
name: foo
- sha256: "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.0.0"
@@ -52,7 +52,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ "sha256": "c35f6caa60870d3b6c5c6aebe5a5d4b56ca4733a52a80ded3445c0c5fa4b62df"
}
}
}
@@ -91,7 +91,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ "sha256": "c35f6caa60870d3b6c5c6aebe5a5d4b56ca4733a52a80ded3445c0c5fa4b62df"
}
},
"latest": "2.0.0",
@@ -107,7 +107,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "3b080cba6d4ca9699c5c75c6b54852f77fe6d15e9cd13039ea4ca37683393021"
+ "sha256": "fee5502506315776878d8556f0f041c9c5c552716db3b25fc43ce1f0175a992d"
}
},
"constraintBumped": "^2.0.0",
@@ -120,7 +120,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ "sha256": "c35f6caa60870d3b6c5c6aebe5a5d4b56ca4733a52a80ded3445c0c5fa4b62df"
}
}
}
@@ -135,7 +135,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "3b080cba6d4ca9699c5c75c6b54852f77fe6d15e9cd13039ea4ca37683393021"
+ "sha256": "fee5502506315776878d8556f0f041c9c5c552716db3b25fc43ce1f0175a992d"
}
},
"constraintBumped": "^2.0.0",
@@ -148,7 +148,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ "sha256": "c35f6caa60870d3b6c5c6aebe5a5d4b56ca4733a52a80ded3445c0c5fa4b62df"
}
}
}
@@ -182,7 +182,7 @@
dependency: "direct main"
description:
name: foo
- sha256: "3b080cba6d4ca9699c5c75c6b54852f77fe6d15e9cd13039ea4ca37683393021"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "2.0.0"
diff --git a/test/testdata/goldens/dependency_services/dependency_services_test/Removing transitive.txt b/test/testdata/goldens/dependency_services/dependency_services_test/Removing transitive.txt
index 3f3a887..b665f33 100644
--- a/test/testdata/goldens/dependency_services/dependency_services_test/Removing transitive.txt
+++ b/test/testdata/goldens/dependency_services/dependency_services_test/Removing transitive.txt
@@ -10,7 +10,7 @@
dependency: "direct main"
description:
name: foo
- sha256: e963d896bb117842c18b0c7ed19c31b84c414acf5845b853acc89994339b613a
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.2.3"
@@ -18,7 +18,7 @@
dependency: transitive
description:
name: transitive
- sha256: bbf701e5d89787675cdbf7d818561d8cd8524a0fb49d79133a887418120ecaab
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.0.0"
@@ -40,7 +40,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "e963d896bb117842c18b0c7ed19c31b84c414acf5845b853acc89994339b613a"
+ "sha256": "0498214b0972f23e519cb7fb546d1eaaae2342152d952b7750e749f3f119fff6"
}
}
},
@@ -54,7 +54,7 @@
"description": {
"name": "transitive",
"url": "http://localhost:$PORT",
- "sha256": "bbf701e5d89787675cdbf7d818561d8cd8524a0fb49d79133a887418120ecaab"
+ "sha256": "d705923b5a6b4c7053e6d86a35799ede6467245151ff15dfdd5719986a61d49c"
}
}
}
@@ -76,7 +76,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "e963d896bb117842c18b0c7ed19c31b84c414acf5845b853acc89994339b613a"
+ "sha256": "0498214b0972f23e519cb7fb546d1eaaae2342152d952b7750e749f3f119fff6"
}
},
"latest": "2.2.3",
@@ -92,7 +92,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "161f5087dae6dc41086fcac53e2db376488e5fa446f81b4352512917e20ccb0a"
+ "sha256": "893214328b7741cecc09046d6309aa894b4645099dd05d7f8e1a1dfa2799a6df"
}
},
"constraintBumped": "^2.2.3",
@@ -105,7 +105,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "e963d896bb117842c18b0c7ed19c31b84c414acf5845b853acc89994339b613a"
+ "sha256": "0498214b0972f23e519cb7fb546d1eaaae2342152d952b7750e749f3f119fff6"
}
}
},
@@ -123,7 +123,7 @@
"description": {
"name": "transitive",
"url": "http://localhost:$PORT",
- "sha256": "bbf701e5d89787675cdbf7d818561d8cd8524a0fb49d79133a887418120ecaab"
+ "sha256": "d705923b5a6b4c7053e6d86a35799ede6467245151ff15dfdd5719986a61d49c"
}
}
}
@@ -138,7 +138,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "161f5087dae6dc41086fcac53e2db376488e5fa446f81b4352512917e20ccb0a"
+ "sha256": "893214328b7741cecc09046d6309aa894b4645099dd05d7f8e1a1dfa2799a6df"
}
},
"constraintBumped": "^2.2.3",
@@ -151,7 +151,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "e963d896bb117842c18b0c7ed19c31b84c414acf5845b853acc89994339b613a"
+ "sha256": "0498214b0972f23e519cb7fb546d1eaaae2342152d952b7750e749f3f119fff6"
}
}
},
@@ -169,7 +169,7 @@
"description": {
"name": "transitive",
"url": "http://localhost:$PORT",
- "sha256": "bbf701e5d89787675cdbf7d818561d8cd8524a0fb49d79133a887418120ecaab"
+ "sha256": "d705923b5a6b4c7053e6d86a35799ede6467245151ff15dfdd5719986a61d49c"
}
}
}
@@ -184,7 +184,7 @@
"description": {
"name": "transitive",
"url": "http://localhost:$PORT",
- "sha256": "bbf701e5d89787675cdbf7d818561d8cd8524a0fb49d79133a887418120ecaab"
+ "sha256": "d705923b5a6b4c7053e6d86a35799ede6467245151ff15dfdd5719986a61d49c"
}
},
"latest": "1.0.0",
@@ -214,7 +214,7 @@
dependency: "direct main"
description:
name: foo
- sha256: "161f5087dae6dc41086fcac53e2db376488e5fa446f81b4352512917e20ccb0a"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "2.2.3"
diff --git a/test/testdata/goldens/dependency_services/dependency_services_test/Smallest possible upgrade can upgrade beyond breaking.txt b/test/testdata/goldens/dependency_services/dependency_services_test/Smallest possible upgrade can upgrade beyond breaking.txt
index fdf4b1a..6d36fc7 100644
--- a/test/testdata/goldens/dependency_services/dependency_services_test/Smallest possible upgrade can upgrade beyond breaking.txt
+++ b/test/testdata/goldens/dependency_services/dependency_services_test/Smallest possible upgrade can upgrade beyond breaking.txt
@@ -10,7 +10,7 @@
dependency: "direct main"
description:
name: foo
- sha256: ee9afb23699244da9e40f5001a3600e529c3696f2b8696906fd43ea8e54e0457
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.1.1"
@@ -31,7 +31,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "ee9afb23699244da9e40f5001a3600e529c3696f2b8696906fd43ea8e54e0457"
+ "sha256": "effaacd54b31939dc8a71e3ccc6b14fa70f544a23a91d8b11eeba869d09cc789"
}
},
"latest": "2.0.2",
@@ -47,7 +47,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "3db0dc36e17a64a3f2ba5c2aa5871c056621886c9cc8464a0123642d3d68d272"
+ "sha256": "83ab34adf781e3ea0bb9da496934fa063243ec23a9cd367789acc4e160d20697"
}
},
"constraintBumped": "^2.0.2",
@@ -60,7 +60,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "ee9afb23699244da9e40f5001a3600e529c3696f2b8696906fd43ea8e54e0457"
+ "sha256": "effaacd54b31939dc8a71e3ccc6b14fa70f544a23a91d8b11eeba869d09cc789"
}
}
}
@@ -75,7 +75,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "3db0dc36e17a64a3f2ba5c2aa5871c056621886c9cc8464a0123642d3d68d272"
+ "sha256": "83ab34adf781e3ea0bb9da496934fa063243ec23a9cd367789acc4e160d20697"
}
},
"constraintBumped": "^2.0.2",
@@ -88,7 +88,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "ee9afb23699244da9e40f5001a3600e529c3696f2b8696906fd43ea8e54e0457"
+ "sha256": "effaacd54b31939dc8a71e3ccc6b14fa70f544a23a91d8b11eeba869d09cc789"
}
}
}
@@ -103,7 +103,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "bcaaad4d1c92a89ff8dfb1ce146e11635fbce6219dc8992d5a5d8eaca0658fdd"
+ "sha256": "0eca4260fb65f9fa13831e508340269ee2668c7121c17a67ab8f8dce34292a9f"
}
},
"constraintBumped": "^2.0.1",
@@ -116,7 +116,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "ee9afb23699244da9e40f5001a3600e529c3696f2b8696906fd43ea8e54e0457"
+ "sha256": "effaacd54b31939dc8a71e3ccc6b14fa70f544a23a91d8b11eeba869d09cc789"
}
}
}
@@ -137,7 +137,7 @@
dependency: "direct main"
description:
name: foo
- sha256: ee9afb23699244da9e40f5001a3600e529c3696f2b8696906fd43ea8e54e0457
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.1.1"
diff --git a/test/testdata/goldens/dependency_services/dependency_services_test/Smallest possible upgrade can upgrade other packages if needed.txt b/test/testdata/goldens/dependency_services/dependency_services_test/Smallest possible upgrade can upgrade other packages if needed.txt
index 745d857..2270a22 100644
--- a/test/testdata/goldens/dependency_services/dependency_services_test/Smallest possible upgrade can upgrade other packages if needed.txt
+++ b/test/testdata/goldens/dependency_services/dependency_services_test/Smallest possible upgrade can upgrade other packages if needed.txt
@@ -10,7 +10,7 @@
dependency: "direct main"
description:
name: bar
- sha256: "8cd4b5a00de63aa592f4240249affd87abf49de4281233870f22b30919f87d42"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.0.0"
@@ -18,7 +18,7 @@
dependency: "direct main"
description:
name: foo
- sha256: "6f20056a28b780546e364af618f5c357863660259f8df4431c7fd12ccb8b4372"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.1.1"
@@ -39,7 +39,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "6f20056a28b780546e364af618f5c357863660259f8df4431c7fd12ccb8b4372"
+ "sha256": "53f3a18765223a43b4bccbab66295ba6dff421b789150b099c831c442e31065a"
}
},
"latest": "2.0.2",
@@ -56,7 +56,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "2fe8aa833d5a1c720c47cde975d63ff8cd1436da5a13b9ff413eb2b489bdf850"
+ "sha256": "ae6cae4af68be16abcdf61b3783a578ad6d44eef847fa97a7ec8056014bbe116"
}
},
"constraintBumped": "^2.0.2",
@@ -69,7 +69,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "6f20056a28b780546e364af618f5c357863660259f8df4431c7fd12ccb8b4372"
+ "sha256": "53f3a18765223a43b4bccbab66295ba6dff421b789150b099c831c442e31065a"
}
}
},
@@ -82,7 +82,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "3c51e3f45f9b993f18c64ab5c55e5f8149c98bac06b0c3e9100fef98385afe4f"
+ "sha256": "3164dbf77eb95f3b0f81f3ce6daecebb934d35ad3e0c75448920d73397785843"
}
},
"constraintBumped": "^2.2.0",
@@ -95,7 +95,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "8cd4b5a00de63aa592f4240249affd87abf49de4281233870f22b30919f87d42"
+ "sha256": "c6d045d6b6edfb503ae0e2a55114e888861505ccea817c08186ffc17975ea9fe"
}
}
}
@@ -110,7 +110,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "3fc65bb8d960eb60a8ff969ba138df09de120b4e05dbde7a45b7f77aba179237"
+ "sha256": "f5f840bd364e147ba01a7c018354eab6afc656fa9abda43d048803a30c4a68a5"
}
},
"constraintBumped": "^2.0.1",
@@ -123,7 +123,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "6f20056a28b780546e364af618f5c357863660259f8df4431c7fd12ccb8b4372"
+ "sha256": "53f3a18765223a43b4bccbab66295ba6dff421b789150b099c831c442e31065a"
}
}
},
@@ -136,7 +136,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "3c51e3f45f9b993f18c64ab5c55e5f8149c98bac06b0c3e9100fef98385afe4f"
+ "sha256": "3164dbf77eb95f3b0f81f3ce6daecebb934d35ad3e0c75448920d73397785843"
}
},
"constraintBumped": "^2.2.0",
@@ -149,7 +149,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "8cd4b5a00de63aa592f4240249affd87abf49de4281233870f22b30919f87d42"
+ "sha256": "c6d045d6b6edfb503ae0e2a55114e888861505ccea817c08186ffc17975ea9fe"
}
}
}
@@ -170,7 +170,7 @@
dependency: "direct main"
description:
name: bar
- sha256: "8cd4b5a00de63aa592f4240249affd87abf49de4281233870f22b30919f87d42"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.0.0"
@@ -178,7 +178,7 @@
dependency: "direct main"
description:
name: foo
- sha256: "6f20056a28b780546e364af618f5c357863660259f8df4431c7fd12ccb8b4372"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.1.1"
diff --git a/test/testdata/goldens/dependency_services/dependency_services_test/multibreaking.txt b/test/testdata/goldens/dependency_services/dependency_services_test/multibreaking.txt
index 1e63cb2..7f4e8f9 100644
--- a/test/testdata/goldens/dependency_services/dependency_services_test/multibreaking.txt
+++ b/test/testdata/goldens/dependency_services/dependency_services_test/multibreaking.txt
@@ -10,7 +10,7 @@
dependency: "direct main"
description:
name: bar
- sha256: "8cd4b5a00de63aa592f4240249affd87abf49de4281233870f22b30919f87d42"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.0.0"
@@ -18,7 +18,7 @@
dependency: "direct main"
description:
name: baz
- sha256: b61dfc82400bc16736afba3958f2c81ff8a5a4b41a31c1b15bdc43a090113cef
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.0.0"
@@ -26,7 +26,7 @@
dependency: "direct main"
description:
name: foo
- sha256: "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.0.0"
@@ -48,7 +48,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "8cd4b5a00de63aa592f4240249affd87abf49de4281233870f22b30919f87d42"
+ "sha256": "c6d045d6b6edfb503ae0e2a55114e888861505ccea817c08186ffc17975ea9fe"
}
}
},
@@ -62,7 +62,7 @@
"description": {
"name": "baz",
"url": "http://localhost:$PORT",
- "sha256": "b61dfc82400bc16736afba3958f2c81ff8a5a4b41a31c1b15bdc43a090113cef"
+ "sha256": "a7efc9c78968fdb7a7eed37efa3d53caf8b0eef7921b512f581966733cc9fc46"
}
}
},
@@ -76,7 +76,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ "sha256": "c35f6caa60870d3b6c5c6aebe5a5d4b56ca4733a52a80ded3445c0c5fa4b62df"
}
}
}
@@ -98,7 +98,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "8cd4b5a00de63aa592f4240249affd87abf49de4281233870f22b30919f87d42"
+ "sha256": "c6d045d6b6edfb503ae0e2a55114e888861505ccea817c08186ffc17975ea9fe"
}
},
"latest": "2.0.0",
@@ -115,7 +115,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "d8f427cae6af20c3915ea195fc8b17f98a4bb333953d418657d83d9f8fb829d7"
+ "sha256": "2b81272d999c7fd2ebe60df3b35dd84b043bccd85dd830dacf503485f50d2333"
}
},
"constraintBumped": "^2.0.0",
@@ -128,7 +128,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "8cd4b5a00de63aa592f4240249affd87abf49de4281233870f22b30919f87d42"
+ "sha256": "c6d045d6b6edfb503ae0e2a55114e888861505ccea817c08186ffc17975ea9fe"
}
}
},
@@ -141,7 +141,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "02b6111db259663d77ff60109d07ccf04e216af6d8d31166f55547e5bed89e21"
+ "sha256": "b72007a4addefd6f54367b93d533cd672036dd4c2eb18c554fc96a08ed762a49"
}
},
"constraintBumped": "^3.0.1",
@@ -154,7 +154,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ "sha256": "c35f6caa60870d3b6c5c6aebe5a5d4b56ca4733a52a80ded3445c0c5fa4b62df"
}
}
}
@@ -169,7 +169,7 @@
"description": {
"name": "baz",
"url": "http://localhost:$PORT",
- "sha256": "b61dfc82400bc16736afba3958f2c81ff8a5a4b41a31c1b15bdc43a090113cef"
+ "sha256": "a7efc9c78968fdb7a7eed37efa3d53caf8b0eef7921b512f581966733cc9fc46"
}
},
"latest": "1.1.0",
@@ -185,7 +185,7 @@
"description": {
"name": "baz",
"url": "http://localhost:$PORT",
- "sha256": "f1a51ba864d7ef5702590e96167b812443ace67e15a82a0e064e735ac1376ec5"
+ "sha256": "35e6795d39c0f711e99ff2ad2f02fda1dbd14a3f68b92872dc5125c6a716d8ac"
}
},
"constraintBumped": "1.1.0",
@@ -198,7 +198,7 @@
"description": {
"name": "baz",
"url": "http://localhost:$PORT",
- "sha256": "b61dfc82400bc16736afba3958f2c81ff8a5a4b41a31c1b15bdc43a090113cef"
+ "sha256": "a7efc9c78968fdb7a7eed37efa3d53caf8b0eef7921b512f581966733cc9fc46"
}
}
}
@@ -213,7 +213,7 @@
"description": {
"name": "baz",
"url": "http://localhost:$PORT",
- "sha256": "f1a51ba864d7ef5702590e96167b812443ace67e15a82a0e064e735ac1376ec5"
+ "sha256": "35e6795d39c0f711e99ff2ad2f02fda1dbd14a3f68b92872dc5125c6a716d8ac"
}
},
"constraintBumped": "1.1.0",
@@ -226,7 +226,7 @@
"description": {
"name": "baz",
"url": "http://localhost:$PORT",
- "sha256": "b61dfc82400bc16736afba3958f2c81ff8a5a4b41a31c1b15bdc43a090113cef"
+ "sha256": "a7efc9c78968fdb7a7eed37efa3d53caf8b0eef7921b512f581966733cc9fc46"
}
}
}
@@ -241,7 +241,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ "sha256": "c35f6caa60870d3b6c5c6aebe5a5d4b56ca4733a52a80ded3445c0c5fa4b62df"
}
},
"latest": "3.0.1",
@@ -256,7 +256,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "601504c450e2e657b80fd1912e90d38393a7e2e6a3f5a641220952c812fcb722"
+ "sha256": "7e0b3bf6b3b6910e5c961f602b9092c552d46ea5bace09abde039229cce18046"
}
},
"constraintBumped": "^1.0.0",
@@ -269,7 +269,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ "sha256": "c35f6caa60870d3b6c5c6aebe5a5d4b56ca4733a52a80ded3445c0c5fa4b62df"
}
}
}
@@ -284,7 +284,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "3b080cba6d4ca9699c5c75c6b54852f77fe6d15e9cd13039ea4ca37683393021"
+ "sha256": "fee5502506315776878d8556f0f041c9c5c552716db3b25fc43ce1f0175a992d"
}
},
"constraintBumped": "^2.0.0",
@@ -297,7 +297,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ "sha256": "c35f6caa60870d3b6c5c6aebe5a5d4b56ca4733a52a80ded3445c0c5fa4b62df"
}
}
}
@@ -312,7 +312,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "02b6111db259663d77ff60109d07ccf04e216af6d8d31166f55547e5bed89e21"
+ "sha256": "b72007a4addefd6f54367b93d533cd672036dd4c2eb18c554fc96a08ed762a49"
}
},
"constraintBumped": "^3.0.1",
@@ -325,7 +325,7 @@
"description": {
"name": "foo",
"url": "http://localhost:$PORT",
- "sha256": "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ "sha256": "c35f6caa60870d3b6c5c6aebe5a5d4b56ca4733a52a80ded3445c0c5fa4b62df"
}
}
},
@@ -338,7 +338,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "d8f427cae6af20c3915ea195fc8b17f98a4bb333953d418657d83d9f8fb829d7"
+ "sha256": "2b81272d999c7fd2ebe60df3b35dd84b043bccd85dd830dacf503485f50d2333"
}
},
"constraintBumped": "^2.0.0",
@@ -351,7 +351,7 @@
"description": {
"name": "bar",
"url": "http://localhost:$PORT",
- "sha256": "8cd4b5a00de63aa592f4240249affd87abf49de4281233870f22b30919f87d42"
+ "sha256": "c6d045d6b6edfb503ae0e2a55114e888861505ccea817c08186ffc17975ea9fe"
}
}
}
@@ -378,7 +378,7 @@
dependency: "direct main"
description:
name: bar
- sha256: d8f427cae6af20c3915ea195fc8b17f98a4bb333953d418657d83d9f8fb829d7
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "2.0.0"
@@ -386,7 +386,7 @@
dependency: "direct main"
description:
name: baz
- sha256: b61dfc82400bc16736afba3958f2c81ff8a5a4b41a31c1b15bdc43a090113cef
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.0.0"
@@ -394,7 +394,7 @@
dependency: "direct main"
description:
name: foo
- sha256: "02b6111db259663d77ff60109d07ccf04e216af6d8d31166f55547e5bed89e21"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "3.0.1"
diff --git a/test/testdata/goldens/embedding/embedding_test/logfile is written with --verbose and on unexpected exceptions.txt b/test/testdata/goldens/embedding/embedding_test/logfile is written with --verbose and on unexpected exceptions.txt
index 26b9598..bc70c20 100644
--- a/test/testdata/goldens/embedding/embedding_test/logfile is written with --verbose and on unexpected exceptions.txt
+++ b/test/testdata/goldens/embedding/embedding_test/logfile is written with --verbose and on unexpected exceptions.txt
@@ -32,7 +32,7 @@
[E] | x-content-type-options: nosniff
[E] IO : Writing $N characters to text file $SANDBOX/cache/hosted/localhost%58$PORT/.cache/foo-versions.json.
[E] FINE: Contents:
-[E] | {"name":"foo","uploaders":["nweiz@google.com"],"versions":[{"pubspec":{"name":"foo","version":"1.0.0","environment":{"sdk":"^3.0.0"}},"version":"1.0.0","archive_url":"http://localhost:$PORT/packages/foo/versions/1.0.0.tar.gz","archive_sha256":"4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"}],"_fetchedAt": "$TIME"}
+[E] | {"name":"foo","uploaders":["nweiz@google.com"],"versions":[{"pubspec":{"name":"foo","version":"1.0.0","environment":{"sdk":"^3.0.0"}},"version":"1.0.0","archive_url":"http://localhost:$PORT/packages/foo/versions/1.0.0.tar.gz","archive_sha256":"$SHA256"}],"_fetchedAt": "$TIME"}
[E] SLVR: selecting foo 1.0.0
[E] SLVR: Version solving took: $TIME
[E] | Tried 1 solutions.
@@ -61,7 +61,7 @@
[E] FINE: Computed checksum $CRC32C for foo 1.0.0 with expected CRC32C of $CRC32C.
[E] IO : Writing $N characters to text file $SANDBOX/cache/hosted-hashes/localhost%58$PORT/foo-1.0.0.sha256.
[E] FINE: Contents:
-[E] | 4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59
+[E] | c35f6caa60870d3b6c5c6aebe5a5d4b56ca4733a52a80ded3445c0c5fa4b62df
[E] FINE: Created $FILE from stream
[E] IO : Created temp directory $DIR
[E] IO : Reading binary file $FILE.
@@ -98,7 +98,7 @@
[E] | dependency: "direct main"
[E] | description:
[E] | name: foo
-[E] | sha256: "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+[E] | sha256: $SHA256
[E] | url: "http://localhost:$PORT"
[E] | source: hosted
[E] | version: "1.0.0"
@@ -157,7 +157,7 @@
dependency: "direct main"
description:
name: foo
- sha256: "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ sha256: $SHA256
url: "http://localhost:$PORT"
source: hosted
version: "1.0.0"
@@ -193,7 +193,7 @@
| x-content-type-options: nosniff
IO : Writing $N characters to text file $SANDBOX/cache/hosted/localhost%58$PORT/.cache/foo-versions.json.
FINE: Contents:
- | {"name":"foo","uploaders":["nweiz@google.com"],"versions":[{"pubspec":{"name":"foo","version":"1.0.0","environment":{"sdk":"^3.0.0"}},"version":"1.0.0","archive_url":"http://localhost:$PORT/packages/foo/versions/1.0.0.tar.gz","archive_sha256":"4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"}],"_fetchedAt": "$TIME"}
+ | {"name":"foo","uploaders":["nweiz@google.com"],"versions":[{"pubspec":{"name":"foo","version":"1.0.0","environment":{"sdk":"^3.0.0"}},"version":"1.0.0","archive_url":"http://localhost:$PORT/packages/foo/versions/1.0.0.tar.gz","archive_sha256":"$SHA256"}],"_fetchedAt": "$TIME"}
SLVR: selecting foo 1.0.0
SLVR: Version solving took: $TIME
| Tried 1 solutions.
@@ -223,7 +223,7 @@
FINE: Computed checksum $CRC32C for foo 1.0.0 with expected CRC32C of $CRC32C.
IO : Writing $N characters to text file $SANDBOX/cache/hosted-hashes/localhost%58$PORT/foo-1.0.0.sha256.
FINE: Contents:
- | 4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59
+ | c35f6caa60870d3b6c5c6aebe5a5d4b56ca4733a52a80ded3445c0c5fa4b62df
FINE: Created $FILE from stream
IO : Created temp directory $DIR
IO : Reading binary file $FILE.
@@ -262,7 +262,7 @@
| dependency: "direct main"
| description:
| name: foo
- | sha256: "4a8df8c695623e81d90f663801ead4a5269b406599b43b90ad558561a6f09c59"
+ | sha256: $SHA256
| url: "http://localhost:$PORT"
| source: hosted
| version: "1.0.0"