aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/RxLibraryUnitTests.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-05-15 14:59:07 -0700
committerGravatar Muxi Yan <mxyan@google.com>2017-05-15 14:59:07 -0700
commitec8e82507ebd9439d02d54937d0f4e8179e42fdc (patch)
tree1451c2af55b92a09b4a6b695232b2814408ce785 /src/objective-c/tests/RxLibraryUnitTests.m
parent91d7bb0c2eb38523c44c8de3e85ae63fa69b1f15 (diff)
Use dispatch_queue to serialize writes
Diffstat (limited to 'src/objective-c/tests/RxLibraryUnitTests.m')
-rw-r--r--src/objective-c/tests/RxLibraryUnitTests.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/objective-c/tests/RxLibraryUnitTests.m b/src/objective-c/tests/RxLibraryUnitTests.m
index 62fbdfcdf6..feade14eea 100644
--- a/src/objective-c/tests/RxLibraryUnitTests.m
+++ b/src/objective-c/tests/RxLibraryUnitTests.m
@@ -164,6 +164,7 @@
GRXBufferedPipe *pipe = [GRXBufferedPipe pipe];
[pipe startWithWriteable:writeable];
[pipe writeValue:anyValue];
+ [pipe writesFinishedWithError:nil];
// Then:
XCTAssertEqual(handler.timesCalled, 1);