Skip to content

Commit c1f7e44

Browse files
committed
lint
1 parent e3c5076 commit c1f7e44

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Source/common/PowerMonitorTest.mm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ @interface PowerMonitorTest : XCTestCase
2727
@implementation PowerMonitorTest
2828

2929
- (void)testCreateReturnsNonNull {
30-
auto monitor = PowerMonitor::Create(^(PowerEvent event) {
30+
auto monitor = PowerMonitor::Create(^(PowerEvent event){
3131
});
3232
XCTAssertTrue(monitor != nullptr);
3333
}
@@ -39,16 +39,16 @@ - (void)testCreateWithNilCallbackReturnsNull {
3939

4040
- (void)testConstructAndDestruct {
4141
// Verify that creating and immediately destroying a monitor doesn't crash.
42-
auto monitor = PowerMonitor::Create(^(PowerEvent event) {
42+
auto monitor = PowerMonitor::Create(^(PowerEvent event){
4343
});
4444
XCTAssertTrue(monitor != nullptr);
4545
monitor.reset();
4646
}
4747

4848
- (void)testMultipleMonitorsCoexist {
49-
auto monitor1 = PowerMonitor::Create(^(PowerEvent event) {
49+
auto monitor1 = PowerMonitor::Create(^(PowerEvent event){
5050
});
51-
auto monitor2 = PowerMonitor::Create(^(PowerEvent event) {
51+
auto monitor2 = PowerMonitor::Create(^(PowerEvent event){
5252
});
5353
XCTAssertTrue(monitor1 != nullptr);
5454
XCTAssertTrue(monitor2 != nullptr);

0 commit comments

Comments
 (0)