Skip to content

Commit d49a6f9

Browse files
committed
One last predicate
1 parent 6fd3772 commit d49a6f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/PropertyTests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@
1010
import ReactiveCocoa
1111
import XCTest
1212

13-
final class PredicateTests: XCTestCase {
13+
final class PropertyTests: XCTestCase {
1414

1515
func testAndProperty() {
1616
let lhs = MutableProperty(false), rhs = MutableProperty(false)
1717
let and = lhs.and(rhs)
1818

1919
var current: Bool!
2020
and.producer.startWithNext { current = $0 }
21-
21+
2222
XCTAssertFalse(and.value)
2323
XCTAssertFalse(current!)
2424

2525
lhs.value = true
2626
XCTAssertFalse(and.value)
2727
XCTAssertFalse(current!)
28-
28+
2929
rhs.value = true
3030
XCTAssertTrue(and.value)
3131
XCTAssertTrue(current!)
@@ -48,7 +48,7 @@ final class PredicateTests: XCTestCase {
4848

4949
var current: Bool!
5050
or.producer.startWithNext { current = $0 }
51-
51+
5252
XCTAssertTrue(or.value)
5353
XCTAssertTrue(current!)
5454

@@ -81,7 +81,7 @@ final class PredicateTests: XCTestCase {
8181

8282
XCTAssertTrue(not.value)
8383
XCTAssertTrue(current!)
84-
84+
8585
source.value = true
8686
XCTAssertFalse(not.value)
8787
XCTAssertFalse(current!)

0 commit comments

Comments
 (0)