We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 738a6c0 commit 6fd9ba8Copy full SHA for 6fd9ba8
1 file changed
ReadWriteLock-Tests/ReadWriteLockTests.class.st
@@ -37,7 +37,7 @@ ReadWriteLockTests >> testFailedReadShouldUnblockWrite [
37
38
| executed |
39
self fork: [
40
- [lock criticalRead: [ 10 milliSeconds wait. self error: 'failed read']] onErrorDo: [ ]
+ [lock criticalRead: [ 10 milliSeconds wait. self error: 'failed read']] on: Error do: [:err | ]
41
].
42
43
self fork: [lock criticalWrite: [ executed := true ]].
@@ -51,7 +51,7 @@ ReadWriteLockTests >> testFailedWriteShouldUnblockRead [
51
52
53
54
- [lock criticalWrite: [ 10 milliSeconds wait. self error: 'failed write']] onErrorDo: [ ]
+ [lock criticalWrite: [ 10 milliSeconds wait. self error: 'failed write']] on: Error do: [:err | ]
55
56
57
self fork: [lock criticalRead: [ executed := true ]].
0 commit comments