mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-27 15:58:48 +00:00
44a9f5283b
test(manager/sbt,swift): close the sbt and swift coverage gaps sbt is now fully covered by tests: a build definition referencing symbols that were never defined, a resolver whose location is not a url, a package file that yields nothing during a multi-file extract, and two scala version strings that normalization leaves alone - a range and a version with no patch part. swift keeps two marks. `artifacts.ts` falls back to an empty depName that extract always sets, and the null state in `extract.ts` is only re-entered at a deps boundary. Its two `.package(` transitions stay counted, since a coverage-ignore hint does not attach to an `else if`. Co-authored-by: Claude Opus 5 <michael.kriese+claude-code@mend.io>
Anything other than .exact(<...>) or exact:<...> will be treated as range with respect to Swift specific.
Because of this, some PR descriptions will look like from: <...> => <...>.
Examples:
package(name: "<...>", .exact("1.2.3")) // => 1.2.3
package(name: "<...>", exact: "1.2.3") // => 1.2.3
package(name: "<...>", from: "1.2.3") // => from: "2.0.0"
package(name: "<...>", "1.2.3"...) // => "2.0.0"...
package(name: "<...>", "1.2.3"..."1.3.0") // => "1.2.3"..."2.0.0"
package(name: "<...>", "1.2.3"..<"1.3.0") // => "1.2.3"..<"2.0.0"
package(name: "<...>", ..."1.2.3") // => ..."2.0.0"
package(name: "<...>", ..<"1.2.3") // => ..<"2.0.0"