Skip to content

Commit

Permalink
Remove leftover async specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewTurk247 committed Mar 13, 2024
1 parent da0c7c2 commit d2816ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PAWSTests/PAWSTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import XCTest


class PAWSTests: XCTestCase {
func testAgeGroupIsAdultTrue() async throws {
func testAgeGroupIsAdultTrue() throws {
var components = DateComponents()
components.year = 1970
components.month = 1
Expand All @@ -33,7 +33,7 @@ class PAWSTests: XCTestCase {
XCTAssertTrue(ageYears >= 18, "Age is below 18 years.")
}

func testAgeGroupIsAdultFalse() async throws {
func testAgeGroupIsAdultFalse() throws {
guard let dateOfBirth = Calendar.current.date(byAdding: .year, value: -12, to: .now) else {
XCTFail("Could not initialize date of birth.")
return
Expand Down

0 comments on commit d2816ae

Please sign in to comment.