Better naming
This commit is contained in:
@@ -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"]
|
||||
),
|
||||
]
|
||||
)
|
||||
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user