Skip to content

Commit 4c0d805

Browse files
authored
Mute "unused variable" warning in ActionSpec.
1 parent 50b14c8 commit 4c0d805

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tests/ReactiveSwiftTests/ActionSpec.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ class ActionSpec: QuickSpec {
7474

7575
action = nil
7676
expect(weakProperty).to(beNil())
77+
78+
// Mute "unused variable" warning.
79+
_ = action
7780
}
7881

7982
it("should be disabled and not executing after initialization") {

0 commit comments

Comments
 (0)