mirror of
https://github.com/apple/swift-http-structured-headers
synced 2026-11-26 04:57:47 +00:00
Initial commit
This commit is contained in:
commit
fa8c1e771c
5 files changed
+46
No files matched your search
@@ -0,0 +1,5 @@
|
||||
.DS_Store
|
||||
/.build
|
||||
/Packages
|
||||
/*.xcodeproj
|
||||
xcuserdata/
|
||||
@@ -0,0 +1,20 @@
|
||||
// swift-tools-version:5.2
|
||||
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "swift-structured-headers",
|
||||
products: [
|
||||
.library(
|
||||
name: "StructuredHeaders",
|
||||
targets: ["StructuredHeaders"]),
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: "StructuredHeaders",
|
||||
dependencies: []),
|
||||
.testTarget(
|
||||
name: "StructuredHeadersTests",
|
||||
dependencies: ["StructuredHeaders"]),
|
||||
]
|
||||
)
|
||||
@@ -0,0 +1,3 @@
|
||||
struct swift_structured_headers {
|
||||
var text = "Hello, World!"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import XCTest
|
||||
@testable import swift_structured_headers
|
||||
|
||||
final class swift_structured_headersTests: XCTestCase {
|
||||
func testExample() {
|
||||
// This is an example of a functional test case.
|
||||
// Use XCTAssert and related functions to verify your tests produce the correct
|
||||
// results.
|
||||
XCTAssertEqual(swift_structured_headers().text, "Hello, World!")
|
||||
}
|
||||
|
||||
static var allTests = [
|
||||
("testExample", testExample),
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user