Skip to content

Commit 3a9a783

Browse files
authored
Fix small typo in tests (#113)
* Update LoggingTest.swift * Apply suggestions from code review
1 parent b321ca1 commit 3a9a783

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/LoggingTests/LoggingTest.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ class LoggingTest: XCTestCase {
2929
var logger = Logger(label: "test")
3030
logger.logLevel = .info
3131
logger.log(level: .debug, {
32-
XCTFail("trace should not be called")
33-
return "trace"
32+
XCTFail("debug should not be called")
33+
return "debug"
3434
}())
35-
logger.debug({
35+
logger.trace({
3636
XCTFail("trace should not be called")
3737
return "trace"
3838
}())

0 commit comments

Comments
 (0)