Skip to content

Commit ac887dc

Browse files
LinqLoverj4yk
authored andcommitted
Fix empty block syntax
It is disputed whether this syntax should be valid, but Shout does not detect it, so it might be better not to use it: http://forum.world.st/The-Inbox-ShoutCore-ct-69-mcz-td5102398.html
1 parent 2410a28 commit ac887dc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/FS-Tests-Core.package/FSReferenceTest.class/instance/testReadStreamDoNotFound.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ testReadStreamDoNotFound
33
| ref |
44
ref := filesystem / 'plonk'.
55
self
6-
should: [ref readStreamDo: [:s]]
7-
raise: FileDoesNotExist
6+
should: [ref readStreamDo: [:s |]]
7+
raise: FileDoesNotExist

src/FS-Tests-Core.package/FSReferenceTest.class/methodProperties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"testPathRelativeTo" : "CamilloBruni 8/12/2011 15:48",
4747
"testReadStream" : "cwp 2/26/2011 18:11",
4848
"testReadStreamDo" : "cwp 2/18/2011 16:17",
49-
"testReadStreamDoNotFound" : "jr 3/5/2017 13:14",
49+
"testReadStreamDoNotFound" : "ct 12/29/2021 20:27",
5050
"testReadStreamDoifAbsent" : "cwp 2/18/2011 16:17",
5151
"testReadStreamDoifAbsentNot" : "CamilloBruni 8/12/2011 15:47",
5252
"testReadStreamIfAbsent" : "cwp 2/26/2011 18:11",

0 commit comments

Comments
 (0)