Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danilobecke committed Jun 24, 2021
1 parent 2552ed4 commit ee4f318
Show file tree
Hide file tree
Showing 16 changed files with 51 additions and 2 deletions.
43 changes: 43 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"object": {
"pins": [
{
"package": "CwlCatchException",
"repositoryURL": "https://github.com/mattgallagher/CwlCatchException.git",
"state": {
"branch": null,
"revision": "682841464136f8c66e04afe5dbd01ab51a3a56f2",
"version": "2.1.0"
}
},
{
"package": "CwlPreconditionTesting",
"repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git",
"state": {
"branch": null,
"revision": "02b7a39a99c4da27abe03cab2053a9034379639f",
"version": "2.0.0"
}
},
{
"package": "Nimble",
"repositoryURL": "https://github.com/Quick/nimble",
"state": {
"branch": null,
"revision": "af1730dde4e6c0d45bf01b99f8a41713ce536790",
"version": "9.2.0"
}
},
{
"package": "Quick",
"repositoryURL": "https://github.com/Quick/Quick",
"state": {
"branch": null,
"revision": "8cce6acd38f965f5baa3167b939f86500314022b",
"version": "3.1.2"
}
}
]
},
"version": 1
}
6 changes: 6 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,17 @@ let package = Package(
),
],
dependencies: [
.package(name: "Quick", url: "https://github.com/Quick/Quick", from: "3.1.2"),
.package(name: "Nimble", url: "https://github.com/Quick/nimble", from: "9.0.0"),
],
targets: [
.target(
name: "LicenseParser",
dependencies: []
),
.testTarget(
name: "LicenseParserTests",
dependencies: ["LicenseParser", "Quick", "Nimble"]
),
]
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ class VersionFourParserSpec: QuickSpec {

let formatter = DateFormatter()
formatter.dateFormat = "MMddyyyy"
let expectedDate = formatter.date(from: "04072021")
let expectedDate = formatter.date(from: "04072030")

expect(result.expirationDate).to(equal(expectedDate))
}
Expand Down Expand Up @@ -665,7 +665,7 @@ class VersionFourParserSpec: QuickSpec {
"ANSI 636002040002DL00410250ZM02910036DLDCAD\n" +
"DCBB\n" +
"DCDNONE\n" +
"DBA04072021\n" +
"DBA04072030\n" +
"DCSPUBLIC\n" +
"DACJOHN\n" +
"DADQUINCY\n" +
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ee4f318

Please sign in to comment.