Skip to content

Commit ffe6e2f

Browse files
authored
Fix all typos found under the FirebasePerformance/Tests/Unit directory (#13363)
1 parent 7575016 commit ffe6e2f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

FirebasePerformance/Tests/Unit/Configurations/FPRRemoteConfigFlagsTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ - (void)testObjectEquality {
4646
}
4747

4848
- (void)testCacheResetAfterEverySuccessfulFetch {
49-
// Initializate the remote config and config flags
49+
// Initialize the remote config and config flags
5050
FPRFakeRemoteConfig *remoteConfig = [[FPRFakeRemoteConfig alloc] init];
5151
FPRRemoteConfigFlags *configFlags =
5252
[[FPRRemoteConfigFlags alloc] initWithRemoteConfig:(FIRRemoteConfig *)remoteConfig];

FirebasePerformance/Tests/Unit/FPRNetworkTraceTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ - (void)testInitWithVeryLongURL {
191191
FPRNetworkTrace *trace = [[FPRNetworkTrace alloc] initWithURLRequest:sampleURLRequest];
192192
XCTAssertNotNil(trace);
193193

194-
// Expected lenght of the URL should be the domainLength, number of times path was appended which
194+
// Expected length of the URL should be the domainLength, number of times path was appended which
195195
// does not make the length go beyond the max limit.
196196
NSInteger expectedLength = domainString.length + (numberOfAppends - 1) * appendString.length;
197197
XCTAssertEqual(trace.trimmedURLString.length, expectedLength);

FirebasePerformance/Tests/Unit/FPRTraceBackgroundActivityTrackerTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ - (void)testForegroundTracking {
3636
XCTAssertEqual(tracker.traceBackgroundState, FPRTraceStateForegroundOnly);
3737
}
3838

39-
/** Validates if the foreground & backgound state is captured correctly. */
39+
/** Validates if the foreground & background state is captured correctly. */
4040
- (void)testBackgroundTracking {
4141
FPRTraceBackgroundActivityTracker *tracker = [[FPRTraceBackgroundActivityTracker alloc] init];
4242
NSNotificationCenter *defaultCenter = [NSNotificationCenter defaultCenter];

FirebasePerformance/Tests/Unit/Instruments/FPRNSURLSessionInstrumentTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ - (void)testSubclassIsNotRegisteredMoreThanOnce {
161161
[instrument deregisterInstrumentors];
162162
}
163163

164-
/** Tests sessionWithConfiguration: with the default configurtion returns a non-nil object. */
164+
/** Tests sessionWithConfiguration: with the default configuration returns a non-nil object. */
165165
- (void)testSessionWithDefaultSessionConfiguration {
166166
FPRNSURLSessionInstrument *instrument = [[FPRNSURLSessionInstrument alloc] init];
167167
[instrument registerInstrumentors];

FirebasePerformance/Tests/Unit/Timer/FIRTraceTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ - (void)testSetOrIncrementMetricWithoutStart {
237237
XCTAssertNil([trace.counters objectForKey:@"testing"]);
238238
}
239239

240-
/** Validates that calling get on a metric returns 0 if it hasnt been reviously set. */
240+
/** Validates that calling get on a metric returns 0 if it hasn't been reviously set. */
241241
- (void)testGetMetricWhenSetHasntBeenCalledReturnsZero {
242242
FIRTrace *trace = [[FIRTrace alloc] initWithName:@"Random"];
243243
int64_t metricValue = [trace valueForIntMetric:@"testing"];

0 commit comments

Comments
 (0)