File tree 1 file changed +3
-3
lines changed
Tests/PackageRegistryTests
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1036,7 +1036,7 @@ fileprivate var availabilityURL = URL("\(registryURL)/availability")
1036
1036
)
1037
1037
1038
1038
// But there should be a warning
1039
- testDiagnostics ( observability. diagnostics) { result in
1039
+ try expectDiagnostics ( observability. diagnostics) { result in
1040
1040
result. check ( diagnostic: . contains( " does not match previously recorded value " ) , severity: . warning)
1041
1041
}
1042
1042
@@ -1750,7 +1750,7 @@ fileprivate var availabilityURL = URL("\(registryURL)/availability")
1750
1750
)
1751
1751
1752
1752
// But there should be a warning
1753
- testDiagnostics ( observability. diagnostics) { result in
1753
+ try expectDiagnostics ( observability. diagnostics) { result in
1754
1754
result. check ( diagnostic: . contains( " does not match previously recorded value " ) , severity: . warning)
1755
1755
}
1756
1756
@@ -2423,7 +2423,7 @@ fileprivate var availabilityURL = URL("\(registryURL)/availability")
2423
2423
)
2424
2424
2425
2425
// But there should be a warning
2426
- testDiagnostics ( observability. diagnostics) { result in
2426
+ try expectDiagnostics ( observability. diagnostics) { result in
2427
2427
result. check ( diagnostic: . contains( " does not match previously recorded value " ) , severity: . warning)
2428
2428
}
2429
2429
You can’t perform that action at this time.
0 commit comments