Skip to content

Commit 4152af5

Browse files
committed
clarify comment
1 parent c1c8827 commit 4152af5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Branch-TestBed/Branch-SDK-Tests/BranchLoggerTests.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ - (void)testLogLevel_DebugByDefault {
111111
[logger logDebug:@"msg" error:nil];
112112
XCTAssertTrue(count == 3);
113113

114-
// this should be ignored
114+
// this should be ignored and the counter not incremented
115115
[logger logVerbose:@"msg" error:nil];
116116
XCTAssertTrue(count == 3);
117117
}
@@ -130,7 +130,7 @@ - (void)testLogLevel_Error {
130130
[logger logError:@"msg" error:nil];
131131
XCTAssertTrue(count == 1);
132132

133-
// this should be ignored
133+
// these should be ignored and the counter not incremented
134134
[logger logWarning:@"msg" error:nil];
135135
XCTAssertTrue(count == 1);
136136
[logger logDebug:@"msg" error:nil];
@@ -155,7 +155,7 @@ - (void)testLogLevel_Warning {
155155
[logger logWarning:@"msg" error:nil];
156156
XCTAssertTrue(count == 2);
157157

158-
// this should be ignored
158+
// this should be ignored and the counter not incremented
159159
[logger logDebug:@"msg" error:nil];
160160
XCTAssertTrue(count == 2);
161161
[logger logVerbose:@"msg" error:nil];

0 commit comments

Comments
 (0)