Skip to content

Commit

Permalink
isTesting
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrandonw committed Aug 15, 2024
1 parent 7a8cd35 commit 7f50046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TcaHelpers/RuntimeWarnings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func runtimeWarning(
_ args: @autoclosure () -> [CVarArg] = []
) {
#if DEBUG && canImport(os)
if !_XCTIsTesting {
if !isTesting {
unsafeBitCast(
os_log as (OSLogType, UnsafeRawPointer, OSLog, StaticString, CVarArg...) -> Void,
to: ((OSLogType, UnsafeRawPointer, OSLog, StaticString, [CVarArg]) -> Void).self
Expand Down

0 comments on commit 7f50046

Please sign in to comment.