mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
Merge pull request #277 from Abizern/swift-cleanup
Update the Swift starting point
This commit is contained in:
commit
263a07d58d
2
swift/.gitignore
vendored
2
swift/.gitignore
vendored
@ -3,3 +3,5 @@
|
||||
/Packages
|
||||
/*.xcodeproj
|
||||
xcuserdata/
|
||||
DerivedData/
|
||||
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
|
||||
@ -1,4 +1,4 @@
|
||||
// swift-tools-version:5.3
|
||||
// swift-tools-version:5.5
|
||||
|
||||
import PackageDescription
|
||||
|
||||
|
||||
@ -9,8 +9,4 @@ class GildedRoseTests: XCTestCase {
|
||||
app.updateQuality()
|
||||
XCTAssertEqual(app.items[0].name, "fixme")
|
||||
}
|
||||
|
||||
static var allTests = [
|
||||
("testFoo", testFoo),
|
||||
]
|
||||
}
|
||||
|
||||
@ -1,9 +0,0 @@
|
||||
import XCTest
|
||||
|
||||
#if !canImport(ObjectiveC)
|
||||
public func allTests() -> [XCTestCaseEntry] {
|
||||
return [
|
||||
testCase(GildedRoseTests.allTests),
|
||||
]
|
||||
}
|
||||
#endif
|
||||
@ -1,7 +0,0 @@
|
||||
import XCTest
|
||||
|
||||
import GildedRoseTests
|
||||
|
||||
var tests = [XCTestCaseEntry]()
|
||||
tests += GildedRoseTests.allTests()
|
||||
XCTMain(tests)
|
||||
Loading…
Reference in New Issue
Block a user