Better naming

This commit is contained in:
cdricms
2025-07-19 13:02:19 +02:00
parent 9e43d41781
commit 9ecd335808
3 changed files with 7 additions and 7 deletions

View File

@@ -4,21 +4,21 @@
import PackageDescription
let package = Package(
name: "units",
name: "Units",
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "units",
targets: ["units"])
name: "Units",
targets: ["Units"])
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "units"),
name: "Units"),
.testTarget(
name: "unitsTests",
dependencies: ["units"]
name: "UnitsTests",
dependencies: ["Units"]
),
]
)

View File

@@ -1,6 +1,6 @@
import Testing
@testable import units
@testable import Units
@Test func example() async throws {
// Write your test here and use APIs like `#expect(...)` to check expected conditions.