Skip to content

Commit

Permalink
Fixed Xcode 13 build
Browse files Browse the repository at this point in the history
  • Loading branch information
orchetect committed Apr 24, 2024
1 parent c8e1e19 commit 9ee7f4b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/OTCoreTests/Abstractions/Time Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ final class Abstractions_Time_Tests: XCTestCase {
let t = Time(hours: 15, minutes: 46, seconds: 20, milliseconds: 49)

Time.Format.allCases.forEach { fmt in
let str = {
let str: String = {
switch fmt {
case .shortest: return "15:46:20"
case .hh_mm_ss: return "15:46:20"
Expand All @@ -226,7 +226,7 @@ final class Abstractions_Time_Tests: XCTestCase {
let t = Time(hours: 5, minutes: 6, seconds: 20)

Time.Format.allCases.forEach { fmt in
let str = {
let str: String = {
switch fmt {
case .shortest: return "5:06:20"
case .hh_mm_ss: return "05:06:20"
Expand All @@ -252,7 +252,7 @@ final class Abstractions_Time_Tests: XCTestCase {
let t = Time(hours: 0, minutes: 0, seconds: 0)

Time.Format.allCases.forEach { fmt in
let str = {
let str: String = {
switch fmt {
case .shortest: return "0:00"
case .hh_mm_ss: return "00:00:00"
Expand All @@ -278,7 +278,7 @@ final class Abstractions_Time_Tests: XCTestCase {
let t = Time(hours: 0, minutes: 0, seconds: 20, sign: .minus)

Time.Format.allCases.forEach { fmt in
let str = {
let str: String = {
switch fmt {
case .shortest: return "-0:20"
case .hh_mm_ss: return "-00:00:20"
Expand Down

0 comments on commit 9ee7f4b

Please sign in to comment.