Skip to content

Commit

Permalink
Fixing Build & Test Failures with Darwin (#27529)
Browse files Browse the repository at this point in the history
  • Loading branch information
woody-apple authored and pull[bot] committed Oct 12, 2023
1 parent 4c3109b commit 1087652
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/darwin/Framework/CHIPTests/MTRErrorTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#import "MTRTestKeys.h"
#import "MTRTestStorage.h"

#import <os/lock.h>

@interface MTRErrorTests : XCTestCase

@end
Expand Down Expand Up @@ -67,7 +69,7 @@ - (void)testErrorSourcePaths
return [error containsString:@".mm:"];
}] anyObject];
NSString * frameworkSource = [self sourceFileFromErrorString:frameworkError];
XCTAssertTrue([frameworkSource scriptingEndsWith:@".mm"]);
XCTAssertTrue([frameworkSource hasSuffix:@".mm"]);
XCTAssertFalse([frameworkSource containsString:@"/"], @"frameworkSource: %@", frameworkSource);
}

Expand Down

0 comments on commit 1087652

Please # to comment.