Skip to content

Commit

Permalink
Update AppStateTracker logs.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 452658754
  • Loading branch information
tirodkar authored and mobile-devx-github-bot committed Jun 3, 2022
1 parent 9d8a5c2 commit a430608
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AppFramework/Synchronization/GREYAppStateTracker.m
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ - (NSString *)description {
[description appendString:@"\n"];
if (state != kGREYIdle) {
for (GREYAppStateTrackerObject *object in self->_externalTrackerObjects) {
[description appendFormat:@"\n<%@> => %@. For more information, turn on verbose logging "
[description appendFormat:@"\n<%@> => %@ For more information, turn on verbose logging "
@"and rerun tests. If it's already turned on, see logs below.\n",
object.objectDescription, StringFromAppState(object.state)];
if (GREYVerboseLoggingEnabled()) {
Expand Down
2 changes: 1 addition & 1 deletion Tests/Functional/Sources/FailureFormattingTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ - (void)testAppStateTrackingTimeoutWithoutVerboseLogging {
[EarlGrey rotateDeviceToOrientation:UIDeviceOrientationPortrait error:nil];
NSString *expectedDetails = @"Waiting for viewDidAppear: call on the view controller. Please "
@"ensure that this view controller and its subclasses call through "
@"to their super's implementation.. For more information, turn on "
@"to their super's implementation. For more information, turn on "
@"verbose logging and rerun tests. If it's already turned on, "
@"see logs below.";
XCTAssertTrue([_handler.details containsString:expectedDetails],
Expand Down

0 comments on commit a430608

Please sign in to comment.