Skip to content

Commit

Permalink
actually fix all swiftlint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxfrazer committed Jun 23, 2019
1 parent 5a3cf3d commit 2b23b44
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
excluded:
- Example
- Pods
variable_name:
identifier_name:
min_length:
warning: 1
function_body_length:
Expand Down
8 changes: 3 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ let package = Package(
products: [
.library(
name: "SCNPath",
targets: ["SCNPath"]),
targets: ["SCNPath"])
],
targets: [
// No tests created just yet.
.target(
name: "SCNPath",
dependencies: []),
.target(name: "SCNPath"),
.testTarget(
name: "SCNPathTests",
dependencies: ["SCNPath"]),
dependencies: ["SCNPath"])
]
)
4 changes: 2 additions & 2 deletions Tests/SCNPathTests/SCNPathTests.swift
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import XCTest
@testable import SCNPath

final class ARKit_SCNPathTests: XCTestCase {
final class SCNPathTests: 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.
}

static var allTests = [
("testExample", testExample),
("testExample", testExample)
]
}
2 changes: 1 addition & 1 deletion Tests/SCNPathTests/XCTestManifests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import XCTest
#if !canImport(ObjectiveC)
public func allTests() -> [XCTestCaseEntry] {
return [
testCase(ARKit_SCNPathTests.allTests),
testCase(SCNPathTests.allTests)
]
}
#endif

0 comments on commit 2b23b44

Please sign in to comment.